VMASKMOVDQU supports 32bit/64bit version in 64bitmode, previously we prefer to use VMASKMOVDQU64 in 64bitmode because the 32bit one need 0x67 prefix.
After D150436, asm match table changed a little, which makes in 64bit mode "vmaskmovdqu %xmm0, %xmm1" will match VMASKMOVDQU other than VMASKMOVDQU64, this patch correct the asm match order for this instruction.
Details
Details
- Reviewers
skan pengfei - Commits
- rG56055822b4d3: [X86]Fix wrong asm match for VMASKMOVDQU
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Although I know your point, but please explain why we'd like to match VMASKMOVDQU64 in the summary.
llvm/lib/Target/X86/X86InstrSSE.td | ||
---|---|---|
4091 | Does the same bug exist for the SSE version? |
llvm/lib/Target/X86/X86InstrSSE.td | ||
---|---|---|
4091 | Exactly! Will give another patch to fix it. |
Does the same bug exist for the SSE version?