OSDN Git Service

[X86] Remove FMA3Info DenseMap. Break into sorted tables that we can binary search.
authorCraig Topper <craig.topper@intel.com>
Mon, 2 Jul 2018 06:23:39 +0000 (06:23 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 2 Jul 2018 06:23:39 +0000 (06:23 +0000)
commitef235be85a9c434cde2826d4ed507cce13811d75
tree88bae181e59246d3f4bc4a590e44af83ef78a39d
parent38051ae89ada39abc660af45351bb5b1972b1383
[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
lib/Target/X86/MCTargetDesc/X86BaseInfo.h
lib/Target/X86/X86InstrFMA3Info.cpp
lib/Target/X86/X86InstrFMA3Info.h
lib/Target/X86/X86InstrInfo.cpp