Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit ef235be

Browse files
committed
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336075 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 38051ae commit ef235be

File tree

4 files changed

+149
-234
lines changed

4 files changed

+149
-234
lines changed

lib/Target/X86/MCTargetDesc/X86BaseInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ namespace X86II {
580580
// getBaseOpcodeFor - This function returns the "base" X86 opcode for the
581581
// specified machine instruction.
582582
//
583-
inline unsigned char getBaseOpcodeFor(uint64_t TSFlags) {
583+
inline uint8_t getBaseOpcodeFor(uint64_t TSFlags) {
584584
return TSFlags >> X86II::OpcodeShift;
585585
}
586586

0 commit comments

Comments
 (0)