Skip to content
Snippets Groups Projects
Commit 6a1e0eb2 authored by Toma Tabacu's avatar Toma Tabacu
Browse files

[mips] [IAS] Add test for SW with relative label operands. NFC.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D10497

llvm-svn: 239899
parent da35573a
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,11 @@ ...@@ -59,6 +59,11 @@
# CHECK: lui $8, %hi($tmp0) # encoding: [A,A,0x08,0x3c] # CHECK: lui $8, %hi($tmp0) # encoding: [A,A,0x08,0x3c]
# CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_HI, kind: fixup_Mips_HI16 # CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_HI, kind: fixup_Mips_HI16
# CHECK: lw $8, %lo($tmp0)($8) # encoding: [A,A,0x08,0x8d] # CHECK: lw $8, %lo($tmp0)($8) # encoding: [A,A,0x08,0x8d]
# CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_LO, kind: fixup_Mips_LO16
sw $8, 1f
# CHECK: lui $1, %hi($tmp0) # encoding: [A,A,0x01,0x3c]
# CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_HI, kind: fixup_Mips_HI16
# CHECK: sw $8, %lo($tmp0)($1) # encoding: [A,A,0x28,0xac]
# CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_LO, kind: fixup_Mips_LO16 # CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_LO, kind: fixup_Mips_LO16
lw $10, 655483($4) lw $10, 655483($4)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment