1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test/Analysis/CostModel
Sanjay Patel cd5177a158 [x86] fix cost of SINT_TO_FP for i32 --> float (PR21356, PR28434)
This is "cvtdq2ps" which does not appear to be particularly slow on any CPU
according to Agner's tables. Choosing "5" as a cost here as suggested in:
https://llvm.org/bugs/show_bug.cgi?id=21356
...but it seems very conservative given that the instruction is fully pipelined,
and I think these costs are supposed to model throughput.

Note that related costs are also most likely too high, but this fixes PR21356
and partly fixes PR28434.

llvm-svn: 274658
2016-07-06 19:15:54 +00:00
..
AArch64 [AArch64] Reduce vector insert/extract cost for Kryo 2016-02-18 18:35:45 +00:00
AMDGPU AMDGPU: Cost model for basic integer operations 2016-03-25 01:16:40 +00:00
ARM [TTI] The cost model should not assume vector casts get completely scalarized 2016-07-06 17:30:56 +00:00
PowerPC [TTI] The cost model should not assume vector casts get completely scalarized 2016-07-06 17:30:56 +00:00
X86 [x86] fix cost of SINT_TO_FP for i32 --> float (PR21356, PR28434) 2016-07-06 19:15:54 +00:00
no_info.ll