[llvm] r205860 - [ARM64] STRHro and STRBro were not being decoded at all.
Bradley Smith
bradley.smith at arm.com
Wed Apr 9 07:41:49 PDT 2014
Author: brasmi01
Date: Wed Apr 9 09:41:49 2014
New Revision: 205860
URL: http://llvm.org/viewvc/llvm-project?rev=205860&view=rev
Log:
[ARM64] STRHro and STRBro were not being decoded at all.
Modified:
llvm/trunk/lib/Target/ARM64/Disassembler/ARM64Disassembler.cpp
llvm/trunk/test/MC/Disassembler/ARM64/memory.txt
Modified: llvm/trunk/lib/Target/ARM64/Disassembler/ARM64Disassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM64/Disassembler/ARM64Disassembler.cpp?rev=205860&r1=205859&r2=205860&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM64/Disassembler/ARM64Disassembler.cpp (original)
+++ llvm/trunk/lib/Target/ARM64/Disassembler/ARM64Disassembler.cpp Wed Apr 9 09:41:49 2014
@@ -1297,9 +1297,11 @@ static DecodeStatus DecodeRegOffsetLdStI
DecodeFPR32RegisterClass(Inst, Rt, Addr, Decoder);
break;
case ARM64::LDRHro:
+ case ARM64::STRHro:
DecodeFPR16RegisterClass(Inst, Rt, Addr, Decoder);
break;
case ARM64::LDRBro:
+ case ARM64::STRBro:
DecodeFPR8RegisterClass(Inst, Rt, Addr, Decoder);
break;
case ARM64::LDRBBro:
Modified: llvm/trunk/test/MC/Disassembler/ARM64/memory.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/ARM64/memory.txt?rev=205860&r1=205859&r2=205860&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/ARM64/memory.txt (original)
+++ llvm/trunk/test/MC/Disassembler/ARM64/memory.txt Wed Apr 9 09:41:49 2014
@@ -416,11 +416,13 @@
# CHECK: ldr q1, [x1, x2]
# CHECK: ldr q1, [x1, x2, lsl #4]
+ 0x00 0x48 0x20 0x7c
0xe1 0x6b 0x23 0xfc
0xe1 0x5b 0x23 0xfc
0xe1 0x6b 0xa3 0x3c
0xe1 0x5b 0xa3 0x3c
+# CHECK: str h0, [x0, x0, uxtw]
# CHECK: str d1, [sp, x3]
# CHECK: str d1, [sp, x3, uxtw #3]
# CHECK: str q1, [sp, x3]
More information about the llvm-commits
mailing list