diff options
author | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2014-11-11 11:22:39 +0000 |
---|---|---|
committer | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2014-11-11 11:22:39 +0000 |
commit | b001cb64231fb29a663ce4a97900796f549fbd2c (patch) | |
tree | e03d207a55f99373dbdc65b74cb63d291d4494cd /test/MC/Mips/mips-hwr-register-names.s | |
parent | d6548ad0139fc2e70bb40a12442da1ab9bbf7519 (diff) |
[mips] Add hardware register name "hwr_ulr" ($29)
The canonical name when printing assembly is still $29. The reason is that
GAS does not accept "$hwr_ulr" at the moment.
This addresses the comments from r221307, which reverted the original
commit r221299.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips-hwr-register-names.s')
-rw-r--r-- | test/MC/Mips/mips-hwr-register-names.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/Mips/mips-hwr-register-names.s b/test/MC/Mips/mips-hwr-register-names.s index b8fd4ead1a04..3849675cdebc 100644 --- a/test/MC/Mips/mips-hwr-register-names.s +++ b/test/MC/Mips/mips-hwr-register-names.s @@ -175,6 +175,7 @@ # CHECK-NEXT: rdhwr $4, $28 # CHECK-NEXT: .set pop # encoding: [0x7c,0x04,0xe0,0x3b] rdhwr $a0,$28 + # CHECK: .set push # CHECK-NEXT: .set mips32r2 # CHECK-NEXT: rdhwr $4, $29 @@ -182,6 +183,12 @@ rdhwr $a0,$29 # CHECK: .set push # CHECK-NEXT: .set mips32r2 + # CHECK-NEXT: rdhwr $4, $29 + # CHECK-NEXT: .set pop # encoding: [0x7c,0x04,0xe8,0x3b] + rdhwr $a0,$hwr_ulr + + # CHECK: .set push + # CHECK-NEXT: .set mips32r2 # CHECK-NEXT: rdhwr $4, $30 # CHECK-NEXT: .set pop # encoding: [0x7c,0x04,0xf0,0x3b] rdhwr $a0,$30 |