Skip to content

Commit 6a1e0eb

Browse files
author
Toma Tabacu
committedJun 17, 2015
[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
1 parent da35573 commit 6a1e0eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎llvm/test/MC/Mips/mips-expansions.s

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@
5959
# CHECK: lui $8, %hi($tmp0) # encoding: [A,A,0x08,0x3c]
6060
# CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_HI, kind: fixup_Mips_HI16
6161
# CHECK: lw $8, %lo($tmp0)($8) # encoding: [A,A,0x08,0x8d]
62+
# CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_LO, kind: fixup_Mips_LO16
63+
sw $8, 1f
64+
# CHECK: lui $1, %hi($tmp0) # encoding: [A,A,0x01,0x3c]
65+
# CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_HI, kind: fixup_Mips_HI16
66+
# CHECK: sw $8, %lo($tmp0)($1) # encoding: [A,A,0x28,0xac]
6267
# CHECK: # fixup A - offset: 0, value: ($tmp0)@ABS_LO, kind: fixup_Mips_LO16
6368

6469
lw $10, 655483($4)

0 commit comments

Comments
 (0)
Please sign in to comment.