Imported Upstream version 1.0.0
[platform/upstream/js.git] / js / src / lirasm / tests / mul_xyz.in
1 ; 1073741823 * 2 < 2^31, and will not overflow.
2 big = immi 1073741823
3 two = immi 2
4
5 res = muli big two
6
7 ; Ensure that 'big' and 'two' get their own registers and
8 ; aren't shared with 'res'.
9 m = allocp 12
10 sti big m 0
11 sti two m 4
12
13 reti res