Reload bug & SRA oddness

Bernd Schmidt bernds_cb1@t-online.de
Sun May 6 12:13:00 GMT 2007


Alexandre Oliva wrote:
> It might make sense to test whether, instead of a DImode variable, a
> pair of SImode variables would do (i.e., no bit-fields crossing the
> SImode boundary), as long as registers are known to hold SImode but
> not DImode.  But is there a generic way to test for such "efficiency
> boundaries"?

I'd start with

  GET_MODE_SIZE (foo) <= UNITS_PER_WORD

as a first order approximation.


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



More information about the Gcc-patches mailing list