From 2dcf6d60196701be044299baf58727d2c33d95b8 Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Sat, 12 Jun 2010 03:12:14 +0000 Subject: [PATCH] make the avx intrinsics 3 address git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105876 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrSSE.td | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index 895a5d2a52b..8468e19686d 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -790,16 +790,20 @@ multiclass basic_sse12_fp_binop_rm opc, string OpcodeStr, !strconcat(OpcodeStr, "ss\t{$src2, $dst|$dst, $src2}"), [(set VR128:$dst, (!nameconcat("int_x86_sse_", !strconcat(OpcodeStr, "_ss")) VR128:$src1, - VR128:$src2))]>; + VR128:$src2))]> { // int_x86_sse_xxx_ss + let Constraints = ""; + } def V#NAME#SDrr_Int : VSDI("int_x86_sse2_", !strconcat(OpcodeStr, "_sd")) VR128:$src1, - VR128:$src2))]>; + VR128:$src2))]> { // int_x86_sse2_xxx_sd + let Constraints = ""; + } def SSrr_Int : SSI opc, string OpcodeStr, !strconcat(OpcodeStr, "ss\t{$src2, $dst|$dst, $src2}"), [(set VR128:$dst, (!nameconcat("int_x86_sse_", !strconcat(OpcodeStr, "_ss")) VR128:$src1, - sse_load_f32:$src2))]>; + sse_load_f32:$src2))]> { // int_x86_sse_xxx_ss + let Constraints = ""; + } def V#NAME#SDrm_Int : VSDI("int_x86_sse2_", !strconcat(OpcodeStr, "_sd")) VR128:$src1, - sse_load_f64:$src2))]>; + sse_load_f64:$src2))]> { // int_x86_sse2_xxx_sd + let Constraints = ""; + } def SSrm_Int : SSI