diff options
Diffstat (limited to 'tests/common-real-int-sign.qbe')
-rw-r--r-- | tests/common-real-int-sign.qbe | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/common-real-int-sign.qbe b/tests/common-real-int-sign.qbe index 589c72e..09f4060 100644 --- a/tests/common-real-int-sign.qbe +++ b/tests/common-real-int-sign.qbe @@ -1,14 +1,10 @@ export function w $main() { @start.1 - %.1 =l alloc4 4 @body.2 - %.2 =l add %.1, 0 - %.3 =w sub 0, 1 - %.4 =w copy %.3 - storew %.4, %.2 - %.5 =w copy 0 - %.6 =w loaduw %.1 - %.7 =w cugtw %.5, %.6 - ret %.7 + %.1 =w copy 0 + %.2 =w copy 0 + %.3 =w sub %.2, 1 + %.4 =w cugtw %.1, %.3 + ret %.4 } |