Mercurial > hg > CbC > CbC_llvm
diff test/MC/Mips/micromips-alu-instructions.s @ 85:5e5d649e25d2
Update LLVM 3.7
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Feb 2015 15:19:25 +0900 |
parents | 60c9769439b8 |
children | 1172e4bd9c6f |
line wrap: on
line diff
--- a/test/MC/Mips/micromips-alu-instructions.s Mon Oct 27 20:20:15 2014 +0900 +++ b/test/MC/Mips/micromips-alu-instructions.s Thu Feb 19 15:19:25 2015 +0900 @@ -38,6 +38,9 @@ # CHECK-EL: multu $9, $7 # encoding: [0xe9,0x00,0x3c,0x9b] # CHECK-EL: div $zero, $9, $7 # encoding: [0xe9,0x00,0x3c,0xab] # CHECK-EL: divu $zero, $9, $7 # encoding: [0xe9,0x00,0x3c,0xbb] +# CHECK-EL: addiupc $2, 20 # encoding: [0x00,0x79,0x05,0x00] +# CHECK-EL: addiupc $7, 16777212 # encoding: [0xbf,0x7b,0xff,0xff] +# CHECK-EL: addiupc $7, -16777216 # encoding: [0xc0,0x7b,0x00,0x00] #------------------------------------------------------------------------------ # Big endian #------------------------------------------------------------------------------ @@ -72,6 +75,9 @@ # CHECK-EB: multu $9, $7 # encoding: [0x00,0xe9,0x9b,0x3c] # CHECK-EB: div $zero, $9, $7 # encoding: [0x00,0xe9,0xab,0x3c] # CHECK-EB: divu $zero, $9, $7 # encoding: [0x00,0xe9,0xbb,0x3c] +# CHECK-EB: addiupc $2, 20 # encoding: [0x79,0x00,0x00,0x05] +# CHECK-EB: addiupc $7, 16777212 # encoding: [0x7b,0xbf,0xff,0xff] +# CHECK-EB: addiupc $7, -16777216 # encoding: [0x7b,0xc0,0x00,0x00] add $9, $6, $7 add $9, $6, 17767 addu $9, $6, -15001 @@ -104,3 +110,6 @@ multu $9, $7 div $0, $9, $7 divu $0, $9, $7 + addiupc $2, 20 + addiupc $7, 16777212 + addiupc $7, -16777216