[llvm] r319000 - [X86][3DNow] Remove unused I3DNow_binop_rm/I3DNow_conv_rm templates. NFCI
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 26 11:22:37 PST 2017
Author: rksimon
Date: Sun Nov 26 11:22:37 2017
New Revision: 319000
URL: http://llvm.org/viewvc/llvm-project?rev=319000&view=rev
Log:
[X86][3DNow] Remove unused I3DNow_binop_rm/I3DNow_conv_rm templates. NFCI
Modified:
llvm/trunk/lib/Target/X86/X86Instr3DNow.td
Modified: llvm/trunk/lib/Target/X86/X86Instr3DNow.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Instr3DNow.td?rev=319000&r1=318999&r2=319000&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Instr3DNow.td (original)
+++ llvm/trunk/lib/Target/X86/X86Instr3DNow.td Sun Nov 26 11:22:37 2017
@@ -33,11 +33,6 @@ class I3DNow_conv<bits<8> o, Format F, d
let isAsmParserOnly = 1;
}
-multiclass I3DNow_binop_rm<bits<8> opc, string Mn> {
- def rr : I3DNow_binop<opc, MRMSrcReg, (ins VR64:$src1, VR64:$src2), Mn, []>;
- def rm : I3DNow_binop<opc, MRMSrcMem, (ins VR64:$src1, i64mem:$src2), Mn, []>;
-}
-
multiclass I3DNow_binop_rm_int<bits<8> opc, string Mn, bit Commutable = 0,
string Ver = ""> {
let isCommutable = Commutable in
@@ -50,11 +45,6 @@ multiclass I3DNow_binop_rm_int<bits<8> o
(bitconvert (load_mmx addr:$src2))))]>;
}
-multiclass I3DNow_conv_rm<bits<8> opc, string Mn> {
- def rr : I3DNow_conv<opc, MRMSrcReg, (ins VR64:$src1), Mn, []>;
- def rm : I3DNow_conv<opc, MRMSrcMem, (ins i64mem:$src1), Mn, []>;
-}
-
multiclass I3DNow_conv_rm_int<bits<8> opc, string Mn, string Ver = ""> {
def rr : I3DNow_conv<opc, MRMSrcReg, (ins VR64:$src), Mn,
[(set VR64:$dst, (!cast<Intrinsic>(
@@ -85,7 +75,6 @@ defm PFSUBR : I3DNow_binop_rm_int<0xAA
defm PI2FD : I3DNow_conv_rm_int<0x0D, "pi2fd">;
defm PMULHRW : I3DNow_binop_rm_int<0xB7, "pmulhrw", 1>;
-
def FEMMS : I3DNow<0x0E, RawFrm, (outs), (ins), "femms",
[(int_x86_mmx_femms)]>;
More information about the llvm-commits
mailing list