Hi,
I noticed that the Intel format of the vshufpd instruction is incorrect.
For example,
$ echo "vshufpd XMM0, XMM0, XMM0, 1" | llvm-mc -x86-asm-syntax=intel error: invalid operand for instruction vshufpd XMM0, XMM0, XMM0, 1 ^~~~
This seems to be caused by a typo in the tablegen entry for this instruction.
In lib/Target/X86/X86InstrSSE.td:
"shufpd\t{$src3, $src2, $src1, $dst|$dst, $src2, $src2, $src3}",
should be
"shufpd\t{$src3, $src2, $src1, $dst|$dst, $src1, $src2, $src3}",
Can someone take a look whether this patch is good to go in?
Thanks,
- Gao