forked from OSchip/llvm-project
A8.6.315 VLD3 (single 3-element structure to all lanes)
The a bit must be encoded as 0. rdar://problem/9292625 llvm-svn: 129618
This commit is contained in:
parent
5ac257d738
commit
761e1e3512
|
@ -2683,6 +2683,12 @@ static bool DisassembleNLdSt(MCInst &MI, unsigned Opcode, uint32_t insn,
|
|||
// Now we can calculate the alignment!
|
||||
if (a)
|
||||
alignment = elem * data_size;
|
||||
} else {
|
||||
if (a) {
|
||||
// A8.6.315 VLD3 (single 3-element structure to all lanes)
|
||||
// The a bit must be encoded as 0.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Multiple n-element structures with type encoded as Inst{11-8}.
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep {invalid instruction encoding}
|
||||
|
||||
# Opcode=871 Name=VLD3DUPd32_UPD Format=ARM_FORMAT_NLdSt(30)
|
||||
# 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
# | 1: 1: 1: 1| 0: 1: 0: 0| 1: 0: 1: 0| 0: 0: 1: 0| 0: 0: 1: 0| 1: 1: 1: 0| 1: 0: 0: 1| 0: 0: 1: 0|
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
#
|
||||
# A8.6.315 VLD3 (single 3-element structure to all lanes)
|
||||
# The a bit must be encoded as 0.
|
||||
0xa2 0xf9 0x92 0x2e
|
Loading…
Reference in New Issue