ARM: fix VEXT encoding corner case
authorTim Northover <tnorthover@apple.com>
Fri, 31 May 2013 13:47:25 +0000 (13:47 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 31 May 2013 13:47:25 +0000 (13:47 +0000)
commite93c701cac2ac62bcd390b978604da76be9967d0
treeda4b95d57adc4fa985e00e8f78ec3a581a420234
parentb6606e46abad12a112a57048caec2142522bc67d
ARM: fix VEXT encoding corner case

The disassembly of VEXT instructions was too lax in the bits checked. This
fixes the case where the instruction affects Q-registers but a misaligned lane
was specified (should be UNDEFINED).

Patch by Amaury de la Vieuville

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrNEON.td
test/MC/Disassembler/ARM/invalid-VEXTd-arm.txt [new file with mode: 0644]