[RTL-ifcvt] Improve conditional select ops on immediates (fix failing x86_64 cmov...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 13 Aug 2015 09:11:13 +0000 (09:11 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 13 Aug 2015 09:11:13 +0000 (09:11 +0000)
commitd27555bfeeb3f58037d5d399df5ae22c7c90d3fa
treeaa4ac4831baaf9824599309f3611f743a9366fe3
parent89711ff6cbe5455fb5f4b42038e072d764b30579
[RTL-ifcvt] Improve conditional select ops on immediates (fix failing x86_64 cmov tests)

PR rtl-optimization/67103
* ifcvt.c (noce_try_store_flag_constants): Move
x = (-(test != 0) & (b - a)) + a transformation to...
(noce_try_cmove): ... Here.  Try it if normal conditional
move fails.

From-SVN: r226853
gcc/ChangeLog
gcc/ifcvt.c