[RISCV] Introduce the concept of DLEN(data path width) into getLMULCost.
SiFive's x280 CPU has a vector unit that VLEN/2 bits wide. This means that LMUL=1 operations take 2 to process all VLEN bits. This patch adds a DLenFactor tuning parameter and applies it to TuneSiFive7. getLMULCost has been updated to use this factor in its calculations. I've added an x280 command line to one cost model test to demonstrate the effect. Reviewed By: arcbbb Differential Revision: https://reviews.llvm.org/D152421
parent
e669011c
Please register or sign in to comment