public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [0/9] Make more use of opt_mode
@ 2017-09-04 11:24 Richard Sandiford
  2017-09-04 11:26 ` [1/9] Make more use of int_mode_for_mode Richard Sandiford
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Richard Sandiford @ 2017-09-04 11:24 UTC (permalink / raw)
  To: gcc-patches

The 77-patch machine-mode series originally targetted only the places
that needed to change for variable-sized modes, but as Richard B.
said on IRC, it meant that the interfaces of mode_for_size vs.
int_mode_for_size were inconsistent: the former still returns BLKmode
on failure, while the latter returns an opt_mode.

This series of patches tries to make the machine_mode functions
consistent.  Tested on aarch64-linux-gmu, x86_64-linux-gnu,
powerpc64le-linux-gnu, and by checking that there were no extra
warnings or changes in testsuite output for one target per CPU.

Richard

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2017-09-05 12:58 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-04 11:24 [0/9] Make more use of opt_mode Richard Sandiford
2017-09-04 11:26 ` [1/9] Make more use of int_mode_for_mode Richard Sandiford
2017-09-05 11:22   ` Richard Biener
2017-09-04 11:31 ` [2/9] Make more use of int_mode_for_size Richard Sandiford
2017-09-05 11:23   ` Richard Biener
2017-09-04 11:32 ` [3/9] (decimal_)float_mode_for_size in real.h Richard Sandiford
2017-09-05 11:24   ` Richard Biener
2017-09-04 11:35 ` [4/9] Make mode_for_size return an opt_mode Richard Sandiford
2017-09-05 11:25   ` Richard Biener
2017-09-04 11:37 ` [5/9] Add mode_for_int_vector helper functions Richard Sandiford
2017-09-05 11:35   ` Richard Biener
2017-09-05 12:33     ` Richard Sandiford
2017-09-05 12:58       ` Richard Biener
2017-09-04 11:39 ` [6/9] Make mode_for_vector return an opt_mode Richard Sandiford
2017-09-05 11:37   ` Richard Biener
2017-09-04 11:41 ` [7/9] Make targetm.get_mask_mode " Richard Sandiford
2017-09-05 11:37   ` Richard Biener
2017-09-04 11:42 ` [8/9] Make mode_for_size_tree " Richard Sandiford
2017-09-05 11:38   ` Richard Biener
2017-09-04 11:43 ` [9/9] Make bitsize_mode_for_mode " Richard Sandiford
2017-09-05 11:39   ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).