From: Evan Cheng Date: Sun, 14 Mar 2010 05:15:39 +0000 (+0000) Subject: Check in tablegen changes to fix disassembler related failures caused by r98465. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5e81716425dc3373fbc834bfa7936a5c1205579b;p=oota-llvm.git Check in tablegen changes to fix disassembler related failures caused by r98465. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98468 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index 9aad2f609b4..214941071eb 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -266,9 +266,11 @@ static int X86FlagFromOpName(FlagsConstantEmitter *flags, REG("GR16"); REG("GR32"); REG("GR32_NOREX"); + REG("GR32_TC"); REG("FR32"); REG("RFP32"); REG("GR64"); + REG("GR64_TC"); REG("FR64"); REG("VR64"); REG("RFP64"); @@ -284,11 +286,13 @@ static int X86FlagFromOpName(FlagsConstantEmitter *flags, MEM("i8mem_NOREX"); MEM("i16mem"); MEM("i32mem"); + MEM("i32mem_TC"); MEM("f32mem"); MEM("ssmem"); MEM("opaque32mem"); MEM("opaque48mem"); MEM("i64mem"); + MEM("i64mem_TC"); MEM("f64mem"); MEM("sdmem"); MEM("f80mem"); diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp index ea78d4193ea..d71252caf27 100644 --- a/utils/TableGen/X86RecognizableInstr.cpp +++ b/utils/TableGen/X86RecognizableInstr.cpp @@ -298,6 +298,7 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const { Name.find("_int") != Name.npos || Name.find("Int_") != Name.npos || Name.find("_NOREX") != Name.npos || + Name.find("_TC") != Name.npos || Name.find("EH_RETURN") != Name.npos || Name.find("V_SET") != Name.npos || Name.find("LOCK_") != Name.npos ||