diff options
Diffstat (limited to 'test/bitfield-load-unsigned.qbe')
-rw-r--r-- | test/bitfield-load-unsigned.qbe | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/test/bitfield-load-unsigned.qbe b/test/bitfield-load-unsigned.qbe index 000ca11..decb72f 100644 --- a/test/bitfield-load-unsigned.qbe +++ b/test/bitfield-load-unsigned.qbe @@ -2,13 +2,11 @@ export function $f() { @start.1 @body.2 - %.1 =l copy $s - %.2 =l mul 0, 1 - %.3 =l add %.1, %.2 - %.4 =l copy %.3 - %.5 =w loadw %.4 - %.6 =w shl %.5, 13 - %.7 =w shr %.6, 17 + %.1 =l mul 0, 1 + %.2 =l add $s, %.1 + %.3 =w loadw %.2 + %.4 =w shl %.3, 13 + %.5 =w shr %.4, 17 ret } export data $s = align 4 { z 4 } |