summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/MCTargetDesc
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-07-02 06:23:39 +0000
committerCraig Topper <craig.topper@intel.com>2018-07-02 06:23:39 +0000
commit0661f67296288ed54d8a7d582db0bf8ddac059b8 (patch)
tree05be9920b71ca1ee0d332199d5026d60507a0171 /llvm/lib/Target/X86/MCTargetDesc
parent3b2aa2b4b4b42fdeb2ee2c617dabddeb30c5441f (diff)
downloadbcm5719-llvm-0661f67296288ed54d8a7d582db0bf8ddac059b8.tar.gz
bcm5719-llvm-0661f67296288ed54d8a7d582db0bf8ddac059b8.zip
[X86] Remove FMA3Info DenseMap. Break into sorted tables that we can binary search.
I separated out the rounding and broadcast groups into their own tables because it made the ordering in the main table easier. Further splitting of the tables might make it possible to directly index using bits from the TSFlags, but its probably not worth it right now. llvm-svn: 336075
Diffstat (limited to 'llvm/lib/Target/X86/MCTargetDesc')
-rw-r--r--llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h b/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
index a1f8c1b94bc..497e29fe628 100644
--- a/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
@@ -580,7 +580,7 @@ namespace X86II {
// getBaseOpcodeFor - This function returns the "base" X86 opcode for the
// specified machine instruction.
//
- inline unsigned char getBaseOpcodeFor(uint64_t TSFlags) {
+ inline uint8_t getBaseOpcodeFor(uint64_t TSFlags) {
return TSFlags >> X86II::OpcodeShift;
}
OpenPOWER on IntegriCloud