Fix Blackfin reload failure with PDImode

Bernd Schmidt bernds_cb1@t-online.de
Thu Sep 13 17:41:00 GMT 2007


PDImode is used to represent the Blackfin's 40-bit accumulators.  We 
don't allow any other registers to hold PDImode values (something that 
could arguably be changed), and we need a secondary reload to move data 
between the accumulators and memory.  The problem is that we didn't 
define a suitable pattern to do this - the secondary reload currently 
has PDImode, and there isn't a valid DREG for that mode.

Fixed with this patch, committed.


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: reloadpdi.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070913/27c1e9c7/attachment.ksh>


More information about the Gcc-patches mailing list