This is an archive of the discontinued LLVM Phabricator instance.

[X86][MMX] Match MMX fp_to_sint conversions from XMM registers
ClosedPublic

Authored by RKSimon on Mar 11 2017, 12:32 PM.

Details

Summary

We currently perform the various fp_to_sint XMM conversion and then transfer to the MMX register (on 32-bit via the stack).

This patch improves support for MOVDQ2Q XMM to MMX transfers and adds the XMM->MMX fp_to_sint direct conversion patterns. The SSE2 specifications are the same for for XMM->XMM and XMM->MMX rounding/exceptions/etc.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Mar 11 2017, 12:32 PM
bruno accepted this revision.Mar 28 2017, 10:24 AM

LGTM!

This revision is now accepted and ready to land.Mar 28 2017, 10:24 AM
This revision was automatically updated to reflect the committed changes.