On 07/13/2017 02:51 AM, Richard Sandiford wrote: > cstore patterns always have a scalar integer result, which has the > value 0 for "false" and STORE_FLAG_VALUE for "true". This patch > makes that explicit using scalar_int_mode. > > 2017-07-13 Richard Sandiford <[email protected]> > Alan Hayward <[email protected]> > David Sherwood <[email protected]> > > gcc/ > * target.def (cstore_mode): Return a scalar_int_mode. > * doc/tm.texi: Regenerate. > * config/sparc/sparc.c (sparc_cstore_mode): Return a scalar_int_mode. > * targhooks.h (default_cstore_mode): Likewise. > * targhooks.c (default_cstore_mode): Likewise, using a forced > conversion. > * expmed.c (emit_cstore): Expect the target of the cstore to be > a scalar_int_mode. OK. jeff
- [33/77] Add a NARROWEST_INT_MODE macro Richard Sandiford
- [35/77] Add uses of as_a <scalar_int_mode> Richard Sandiford
- [34/77] Add a SCALAR_INT_TYPE_MODE macro Richard Sandiford
- [36/77] Use scalar_int_mode in the RTL iv routines Richard Sandiford
- [37/77] Use scalar_int_mode when emitting cstores Richard Sandiford
- Re: [37/77] Use scalar_int_mode when emitting cstor... Jeff Law
- [38/77] Move SCALAR_INT_MODE_P out of strict_volatile_bi... Richard Sandiford
- [39/77] Two changes to the get_best_mode interface Richard Sandiford
- [40/77] Use scalar_int_mode for extraction_insn fields Richard Sandiford
- [41/77] Split scalar integer handling out of force_to_mo... Richard Sandiford
- [42/77] Use scalar_int_mode in simplify_shift_const_1 Richard Sandiford
