Copying one mask register to another under BW should be done with kmovq instruction, otherwise we can loose some bits.
Copying 8 bits under DQ may be done with kmovb.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D14812
AVX-512: Fixed COPY_TO_REGCLASS for mask registers ClosedPublic Authored by delena on Nov 19 2015, 2:06 AM.
Details Summary Copying one mask register to another under BW should be done with kmovq instruction, otherwise we can loose some bits.
Diff Detail
Event Timelinedelena updated this object. This revision is now accepted and ready to land.Nov 19 2015, 3:50 AM Closed by commit rL253563: AVX-512: Fixed COPY_TO_REGCLASS for mask registers (authored by delena). · Explain WhyNov 19 2015, 5:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 40616 lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/avx512-gather-scatter-intrin.ll
test/CodeGen/X86/avx512dq-intrinsics.ll
test/CodeGen/X86/avx512dqvl-intrinsics.ll
|
Does DestReg/SrcReg should be set to i32/i64 for kmovd/kmovg ?