[llvm-commits] [llvm] r141654 - /llvm/trunk/lib/Target/X86/X86InstrSSE.td
Craig Topper
craig.topper at gmail.com
Tue Oct 11 00:01:37 PDT 2011
Author: ctopper
Date: Tue Oct 11 02:01:37 2011
New Revision: 141654
URL: http://llvm.org/viewvc/llvm-project?rev=141654&view=rev
Log:
Make Ivy Bridge 16-bit floating point conversion instructions require AVX.
Modified:
llvm/trunk/lib/Target/X86/X86InstrSSE.td
Modified: llvm/trunk/lib/Target/X86/X86InstrSSE.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrSSE.td?rev=141654&r1=141653&r2=141654&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSSE.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrSSE.td Tue Oct 11 02:01:37 2011
@@ -6763,7 +6763,7 @@
//===----------------------------------------------------------------------===//
// Half precision conversion instructions
//
-let Predicates = [HasF16C] in {
+let Predicates = [HasAVX, HasF16C] in {
def VCVTPH2PSrm : I<0x13, MRMSrcMem, (outs VR128:$dst), (ins f64mem:$src),
"vcvtph2ps\t{$src, $dst|$dst, $src}", []>, T8, OpSize, VEX;
def VCVTPH2PSrr : I<0x13, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src),
More information about the llvm-commits
mailing list