target-i386: Use mulu2 and muls2
[qemu/pbrook.git] / tests / tcg / lm32 / test_sextb.S
blob58db8ee8b96f79ba12686ea415979c03dbd87fa4
1 .include "macros.inc"
3 start
5 test_name SEXTB_1
6 mvi r1, 0
7 sextb r3, r1
8 check_r3 0
10 test_name SEXTB_2
11 mvi r1, 0x7f
12 sextb r3, r1
13 check_r3 0x0000007f
15 test_name SEXTB_3
16 mvi r1, 0x80
17 sextb r3, r1
18 check_r3 0xffffff80
20 end