diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2018-09-26 01:31:22 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2018-09-26 01:31:22 +0200 |
commit | 07a38de7ceed3080f6f95912624d7e01ae352b6d (patch) | |
tree | 774a4e1523391a2a22a0699cb1bbd7f91da054ef /gcc/tree-inline.c | |
parent | ad117173a0d8a5412bc2b9fb99e2c9b1cb4036af (diff) | |
download | gcc-07a38de7ceed3080f6f95912624d7e01ae352b6d.zip gcc-07a38de7ceed3080f6f95912624d7e01ae352b6d.tar.gz gcc-07a38de7ceed3080f6f95912624d7e01ae352b6d.tar.bz2 |
rs6000: Simplify "switch (which_alternative)" patterns
A few of the rs6000 patterns use C code as output control string, where
that code is just a "switch (which_alternative)" with all alternatives
returning a constant string or just the result of a function call as
template.
Write such cases as just a list of templates, with the few pieces that
are C code preceded by "*".
* config/rs6000/altivec.md (*altivec_mov<mode>): Write the output
control string as a list of templates instead of as C code.
(*altivec_movti): Ditto.
* config/rs6000/darwin.md (movdf_low_di): Ditto.
From-SVN: r264587
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions