llvm-project/llvm/test/Analysis/CostModel/X86
Arnold Schwaighofer 44f902ed7d X86 cost model: Differentiate cost for vector shifts of constants
SSE2 has efficient support for shifts by a scalar. My previous change of making
shifts expensive did not take this into account marking all shifts as expensive.
This would prevent vectorization from happening where it is actually beneficial.

With this change we differentiate between shifts of constants and other shifts.

radar://13576547

llvm-svn: 178808
2013-04-04 23:26:24 +00:00
..
arith.ll X86 cost model: Vector shifts are expensive in most cases 2013-04-03 21:46:05 +00:00
cast.ll X86TTI: Add accurate costs for itofp operations, based on the actual instruction counts. 2013-04-01 10:23:49 +00:00
cmp.ll Reverse order of checking SSE level when calculating compare cost, so we check 2012-12-18 22:57:56 +00:00
gep.ll ARM cost model: Address computation in vector mem ops not free 2013-02-08 14:50:48 +00:00
i32.ll We are not ready to estimate the cost of integer expansions based on the number of parts. This test is too noisy. 2012-12-23 09:11:07 +00:00
insert-extract-at-zero.ll Cost Model: Normalize the insert/extract index when splitting types 2012-11-05 21:12:13 +00:00
intrinsic-cost.ll Cost model support for lowered math builtins. 2013-02-28 19:09:33 +00:00
lit.local.cfg
load_store.ll Improve the X86 cost model for loads and stores. 2012-12-21 01:33:59 +00:00
loop_v2.ll
testshiftashr.ll X86 cost model: Differentiate cost for vector shifts of constants 2013-04-04 23:26:24 +00:00
testshiftlshr.ll X86 cost model: Differentiate cost for vector shifts of constants 2013-04-04 23:26:24 +00:00
testshiftshl.ll X86 cost model: Differentiate cost for vector shifts of constants 2013-04-04 23:26:24 +00:00
tiny.ll Cost Model: change the default cost of control flow instructions (br / ret / ...) to zero. 2012-12-05 21:21:26 +00:00
vectorized-loop.ll Improve the X86 cost model for loads and stores. 2012-12-21 01:33:59 +00:00