diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-07-02 06:23:39 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-07-02 06:23:39 +0000 |
| commit | 0661f67296288ed54d8a7d582db0bf8ddac059b8 (patch) | |
| tree | 05be9920b71ca1ee0d332199d5026d60507a0171 /llvm/lib/Target/X86/MCTargetDesc | |
| parent | 3b2aa2b4b4b42fdeb2ee2c617dabddeb30c5441f (diff) | |
| download | bcm5719-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.h | 2 |
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; } |

