This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH [FSF mainline] Fix pattern for store and update for apple-ppc-darwin mixed mode.


This is a bug in apple-ppc-darwin in mixed mode (-mcpu=G5) where word_mode is DImode.

Routine rs6000_split_multireg_move does not generate expected pattern for doing a store and
update and gcc ICEs. This happens when test case is compiled with -O1 -mcpu=G5 and -funroll-loops.
Fix is to define a new pattern for the mixed mode case and use it when sore and update pattern need
be generated. Patch is bootstrapped and dejagnu tested on apple-ppc-darwin with -mcpu=G5 and
in default.


OK for mainline?

- Fariborz (fjahanian@apple.com).

ChangeLog:

2004-08-25 Fariborz Jahanian <fjahanian@apple.com>

        * config/rs6000/rs6000.c (rs6000_split_multireg_move): Generate
        correct pattern for update in mixed mode.
        Call gen_mov_mixed_update.
        * config/rs6000/rs6000.md (mov_mixed_update): New pattern for
        mixed modes.


Attachment: darwin-double-longdouble.c
Description: Text document




Patch:



Attachment: fsf-3767380.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]