diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/float-to-uint64.qbe | 12 | ||||
-rw-r--r-- | test/uint64-to-float.qbe | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/test/float-to-uint64.qbe b/test/float-to-uint64.qbe index b19ff32..dbe746e 100644 --- a/test/float-to-uint64.qbe +++ b/test/float-to-uint64.qbe @@ -4,15 +4,15 @@ function l $f() { @body.2 %.1 =s call $g() %.2 =w cges %.1, s_9223372036854775808 - jnz %.2, @ftou_big.4, @ftou_small.3 -@ftou_small.3 + jnz %.2, @ftou_big.5, @ftou_small.4 +@ftou_small.4 %.3 =l stosi %.1 - jmp @ftou_join.5 -@ftou_big.4 + jmp @ftou_join.3 +@ftou_big.5 %.4 =s sub %.1, s_9223372036854775808 %.5 =l stosi %.4 %.6 =l xor %.5, 9223372036854775808 -@ftou_join.5 - %.7 =l phi @ftou_small.3 %.3, @ftou_big.4 %.6 +@ftou_join.3 + %.7 =l phi @ftou_small.4 %.3, @ftou_big.5 %.6 ret %.7 } diff --git a/test/uint64-to-float.qbe b/test/uint64-to-float.qbe index 6542c29..4c3cf92 100644 --- a/test/uint64-to-float.qbe +++ b/test/uint64-to-float.qbe @@ -4,17 +4,17 @@ function s $f() { @body.2 %.1 =l call $g() %.2 =w csltl %.1, 0 - jnz %.2, @utof_big.4, @utof_small.3 -@utof_small.3 + jnz %.2, @utof_big.5, @utof_small.4 +@utof_small.4 %.3 =s sltof %.1 - jmp @utof_join.5 -@utof_big.4 + jmp @utof_join.3 +@utof_big.5 %.4 =l and %.1, 1 %.5 =l shr %.1, 1 %.6 =l or %.5, %.4 %.7 =s sltof %.6 %.8 =s add %.7, %.7 -@utof_join.5 - %.9 =s phi @utof_small.3 %.3, @utof_big.4 %.8 +@utof_join.3 + %.9 =s phi @utof_small.4 %.3, @utof_big.5 %.8 ret %.9 } |