[PATCH] D30868: [X86][MMX] Match MMX fp_to_sint conversions from XMM registers

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 11 12:32:03 PST 2017


RKSimon created this revision.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D30868

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86InstrMMX.td
  test/CodeGen/X86/mmx-cvt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30868.91479.patch
Type: text/x-patch
Size: 7694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170311/0b746e2e/attachment.bin>


More information about the llvm-commits mailing list