[ARM64] STRHro and STRBro were not being decoded at all.

llvm-svn: 205860
This commit is contained in:
Bradley Smith 2014-04-09 14:41:49 +00:00
parent 87c60e00d5
commit 35cadc58c9
2 changed files with 4 additions and 0 deletions

View File

@ -1297,9 +1297,11 @@ static DecodeStatus DecodeRegOffsetLdStInstruction(llvm::MCInst &Inst,
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:

View File

@ -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]