This is an archive of the discontinued LLVM Phabricator instance.

[X86] Generalize CVTTPD2DQ/CVTTPD2UDQ and CVTDQ2PD/CVTUDQ2PD opcodes. NFCI
ClosedPublic

Authored by RKSimon on Nov 23 2016, 3:58 PM.

Details

Summary

Replace the CVTTPD2DQ/CVTTPD2UDQ and CVTDQ2PD/CVTUDQ2PD opcodes with general versions.

This is an initial step towards similar FP_TO_SINT/FP_TO_UINT and SINT_TO_FP/UINT_TO_FP lowering to AVX512 CVTTPS2QQ/CVTTPS2UQQ and CVTQQ2PS/CVTUQQ2PS with illegal types.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon updated this revision to Diff 79163.Nov 23 2016, 3:58 PM
RKSimon retitled this revision from to [X86] Generalize CVTTPD2DQ/CVTTPD2UDQ and CVTDQ2PD/CVTUDQ2PD opcodes. NFCI .
RKSimon updated this object.
RKSimon added reviewers: craig.topper, delena, zvi, spatel.
RKSimon set the repository for this revision to rL LLVM.
RKSimon added a subscriber: llvm-commits.
craig.topper accepted this revision.Nov 23 2016, 7:27 PM
craig.topper edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 23 2016, 7:27 PM
This revision was automatically updated to reflect the committed changes.