diff options
author | Segher Boessenkool <segher@gcc.gnu.org> | 2018-07-23 13:25:28 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2018-07-23 13:25:28 +0200 |
commit | 268e16e89b2fe7ed6f9f03c877e05714464a704a (patch) | |
tree | f5a539fe7e1768deaa804abae7352d145b1fe4ee /gcc/hsa-dump.c | |
parent | 315aa691f486bfe71bae0a5fc8828db26daebb56 (diff) | |
download | gcc-268e16e89b2fe7ed6f9f03c877e05714464a704a.zip gcc-268e16e89b2fe7ed6f9f03c877e05714464a704a.tar.gz gcc-268e16e89b2fe7ed6f9f03c877e05714464a704a.tar.bz2 |
rs6000: Generate rl*imi for memory some more
An rl<wd>imi instruction is often written like "(a << 8) | (b & 255)".
If "b" now is a byte in memory, combine will combine the load with the
masking (with 255 in the example), since that is a single instruction;
and then the rl*imi isn't combined from the remaining pieces.
This patch adds a splitter to make combine handle this case.
* config/rs6000/rs6000.md (splitters for rldimi and rlwimi with the
zero_extend argument from memory): New.
From-SVN: r262929
Diffstat (limited to 'gcc/hsa-dump.c')
0 files changed, 0 insertions, 0 deletions