This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242145 - in /branches/ARM/sve-branch/gcc: comb...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:07:56 -0000
- Subject: r242145 - in /branches/ARM/sve-branch/gcc: comb...
Author: rsandifo
Date: Fri Nov 11 17:07:55 2016
New Revision: 242145
URL: https://gcc.gnu.org/viewcvs?rev=242145&root=gcc&view=rev
Log:
Simplify nonzero/num_sign_bits hooks
The two implementations of the reg_nonzero_bits and reg_num_sign_bits
hooks ignored the "known_x", "known_mode" and "known_ret" arguments,
so this patch removes them. It adds a new scalar_int_mode parameter
that specifies the mode of "x". (This mode might be different from
"mode", which is the mode in which "x" is used.)
Modified:
branches/ARM/sve-branch/gcc/combine.c
branches/ARM/sve-branch/gcc/rtl.h
branches/ARM/sve-branch/gcc/rtlanal.c
branches/ARM/sve-branch/gcc/rtlhooks-def.h
branches/ARM/sve-branch/gcc/rtlhooks.c