This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r226491 - in /trunk/gcc: ChangeLog ifcvt.c test...


Author: ktkachov
Date: Mon Aug  3 08:14:42 2015
New Revision: 226491

URL: https://gcc.gnu.org/viewcvs?rev=226491&root=gcc&view=rev
Log:
[RTL-ifcvt] Improve conditional select ops on immediates

	* ifcvt.c (noce_try_store_flag_constants): Make logic of the case
	when diff == STORE_FLAG_VALUE or diff == -STORE_FLAG_VALUE more
	explicit.  Prefer to add the flag whenever possible.
	(noce_process_if_block): Try noce_try_store_flag_constants before
	noce_try_cmove.

	* gcc.target/aarch64/csel_bfx_1.c: New test.
	* gcc.target/aarch64/csel_imms_inc_1.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/aarch64/csel_bfx_1.c
    trunk/gcc/testsuite/gcc.target/aarch64/csel_imms_inc_1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ifcvt.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]