[Xtensa] handle MEM operands in new reload pattern

Bob Wilson bwilson@tensilica.com
Sat Sep 20 08:42:00 GMT 2008


My change on 2008-09-05 added a new reload instruction pattern that handled 
SUBREG operands.  At the time I couldn't find any code that exercised this 
instruction, but while running the testsuite with a different Xtensa processor 
configuration, I found a regression.  Instead of the expected SUBREG, the reload 
pattern was given a MEM (with a narrower mode).  I've committed this patch to 
fix it.

2008-09-19  Bob Wilson  <bob.wilson@acm.org>

         * config/xtensa/xtensa.md (reload<mode>_literal): Handle MEM operands.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-reload-mem.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080920/8ed4c888/attachment.ksh>


More information about the Gcc-patches mailing list