From 617ba175da2885aa3e747ee7a00faa5ee4110579 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sat, 5 Oct 2013 19:27:26 +0000 Subject: [PATCH] Remove underscores from TBM instruction names for consistency with other instruction naming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192040 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrInfo.td | 48 +++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 89352978840..82edecba829 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -1953,10 +1953,10 @@ let hasSideEffects = 0 in { multiclass tbm_binary_intr opc, string OpcodeStr, Format FormReg, Format FormMem> { - defm _32 : tbm_binary_rm; - defm _64 : tbm_binary_rm, VEX_W; + defm NAME#32 : tbm_binary_rm; + defm NAME#64 : tbm_binary_rm, VEX_W; } defm BLCFILL : tbm_binary_intr<0x01, "blcfill", MRM1r, MRM1m>; @@ -1986,55 +1986,55 @@ let Predicates = [HasTBM] in { // FIXME: patterns for the load versions are not implemented def : Pat<(and GR32:$src, (add GR32:$src, 1)), - (BLCFILL_32rr GR32:$src)>; + (BLCFILL32rr GR32:$src)>; def : Pat<(and GR64:$src, (add GR64:$src, 1)), - (BLCFILL_64rr GR64:$src)>; + (BLCFILL64rr GR64:$src)>; def : Pat<(or GR32:$src, (not (add GR32:$src, 1))), - (BLCI_32rr GR32:$src)>; + (BLCI32rr GR32:$src)>; def : Pat<(or GR64:$src, (not (add GR64:$src, 1))), - (BLCI_64rr GR64:$src)>; + (BLCI64rr GR64:$src)>; // Extra patterns because opt can optimize the above patterns to this. def : Pat<(or GR32:$src, (sub -2, GR32:$src)), - (BLCI_32rr GR32:$src)>; + (BLCI32rr GR32:$src)>; def : Pat<(or GR64:$src, (sub -2, GR64:$src)), - (BLCI_64rr GR64:$src)>; + (BLCI64rr GR64:$src)>; def : Pat<(and (not GR32:$src), (add GR32:$src, 1)), - (BLCIC_32rr GR32:$src)>; + (BLCIC32rr GR32:$src)>; def : Pat<(and (not GR64:$src), (add GR64:$src, 1)), - (BLCIC_64rr GR64:$src)>; + (BLCIC64rr GR64:$src)>; def : Pat<(xor GR32:$src, (add GR32:$src, 1)), - (BLCMSK_32rr GR32:$src)>; + (BLCMSK32rr GR32:$src)>; def : Pat<(xor GR64:$src, (add GR64:$src, 1)), - (BLCMSK_64rr GR64:$src)>; + (BLCMSK64rr GR64:$src)>; def : Pat<(or GR32:$src, (add GR32:$src, 1)), - (BLCS_32rr GR32:$src)>; + (BLCS32rr GR32:$src)>; def : Pat<(or GR64:$src, (add GR64:$src, 1)), - (BLCS_64rr GR64:$src)>; + (BLCS64rr GR64:$src)>; def : Pat<(or GR32:$src, (add GR32:$src, -1)), - (BLSFILL_32rr GR32:$src)>; + (BLSFILL32rr GR32:$src)>; def : Pat<(or GR64:$src, (add GR64:$src, -1)), - (BLSFILL_64rr GR64:$src)>; + (BLSFILL64rr GR64:$src)>; def : Pat<(or (not GR32:$src), (add GR32:$src, -1)), - (BLSIC_32rr GR32:$src)>; + (BLSIC32rr GR32:$src)>; def : Pat<(or (not GR64:$src), (add GR64:$src, -1)), - (BLSIC_64rr GR64:$src)>; + (BLSIC64rr GR64:$src)>; def : Pat<(or (not GR32:$src), (add GR32:$src, 1)), - (T1MSKC_32rr GR32:$src)>; + (T1MSKC32rr GR32:$src)>; def : Pat<(or (not GR64:$src), (add GR64:$src, 1)), - (T1MSKC_64rr GR64:$src)>; + (T1MSKC64rr GR64:$src)>; def : Pat<(and (not GR32:$src), (add GR32:$src, -1)), - (TZMSK_32rr GR32:$src)>; + (TZMSK32rr GR32:$src)>; def : Pat<(and (not GR64:$src), (add GR64:$src, -1)), - (TZMSK_64rr GR64:$src)>; + (TZMSK64rr GR64:$src)>; } // HasTBM //===----------------------------------------------------------------------===//