summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/Mips/micromips-expansions.s2
-rw-r--r--llvm/test/MC/Mips/mips-expansions.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/Mips/micromips-expansions.s b/llvm/test/MC/Mips/micromips-expansions.s
index 48c73f34e7e..128662ccece 100644
--- a/llvm/test/MC/Mips/micromips-expansions.s
+++ b/llvm/test/MC/Mips/micromips-expansions.s
@@ -39,7 +39,7 @@
# CHECK: lw $10, 123($10) # encoding: [0x4a,0xfd,0x7b,0x00]
# CHECK: lui $1, 2 # encoding: [0xa1,0x41,0x02,0x00]
# CHECK: addu $1, $1, $9 # encoding: [0x21,0x01,0x50,0x09]
-# CHECK: sw $10, 57920($1) # encoding: [0x41,0xf9,0x40,0xe2]
+# CHECK: sw $10, -7616($1) # encoding: [0x41,0xf9,0x40,0xe2]
li $5,123
li $6,-2345
diff --git a/llvm/test/MC/Mips/mips-expansions.s b/llvm/test/MC/Mips/mips-expansions.s
index 855aefbba5a..dd8fe2d6089 100644
--- a/llvm/test/MC/Mips/mips-expansions.s
+++ b/llvm/test/MC/Mips/mips-expansions.s
@@ -47,7 +47,7 @@
sw $10, 123456($9)
# CHECK-LE: lui $1, 2 # encoding: [0x02,0x00,0x01,0x3c]
# CHECK-LE: addu $1, $1, $9 # encoding: [0x21,0x08,0x29,0x00]
-# CHECK-LE: sw $10, 57920($1) # encoding: [0x40,0xe2,0x2a,0xac]
+# CHECK-LE: sw $10, -7616($1) # encoding: [0x40,0xe2,0x2a,0xac]
lw $8, symbol
# CHECK-LE: lui $8, %hi(symbol) # encoding: [A,A,0x08,0x3c]
OpenPOWER on IntegriCloud