Make x86 asm parser to check for xmm vs ymm for index register in gather instructions. Also fix Intel syntax for gather instructions to use 'DWORD PTR' or 'QWORD PTR' to match gas.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160420 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper
2012-07-18 04:11:12 +00:00
parent d3a32b952b
commit 75dc33a60b
8 changed files with 118 additions and 21 deletions

View File

@@ -105,3 +105,8 @@
# CHECK: retf
0x66 0xcb
# CHECK: vpgatherqq YMM2, QWORD PTR [RDI + 2*YMM1], YMM0
0xc4 0xe2 0xfd 0x91 0x14 0x4f
# CHECK: vpgatherdd XMM10, DWORD PTR [R15 + 2*XMM9], XMM8
0xc4 0x02 0x39 0x90 0x14 0x4f