summaryrefslogtreecommitdiff
path: root/js/src/lirasm/tests/mul_xyy.in
blob: 39d594f0f452b2aa4e028896073382c290acad79 (plain)
1
2
3
4
5
6
7
8
9
10
; 46340 * 46340 < 2^31, and will not overflow.
big = immi 46340

res = muli big big

; Ensure that 'big' gets its own register and isn't shared with 'res'.
m = allocp 8
sti big m 0

reti res