qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

_fix2.ssa (166B)


      1 function $test() {
      2 @start
      3 	%x =w copy 1
      4 @loop
      5 	jnz %x, @noz, @isz
      6 @noz
      7 	%x =w copy 0
      8 	jnz %x, @loop, @end
      9 @isz
     10 	%x =w copy 1
     11 	jmp @loop
     12 @end
     13 	%z =w add 10, %x
     14 	ret
     15 }