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 - PPC split slow unaligned load/store into smaller load/stores



rs6000_emit_move() need to know the alignment and SLOW_UNALIGNED_ACCESS
should cause load/store to be split into smaller loads and logical ops. rs6000_eimit_mode()
only handles MEM-MEM now. It needs to be expanded to MEM-REG and REG-MEM.
Patch is bootstrapped and dejagnu and SPEC benchmark tested on ppc-dawrin.


OK for mainline?

- Fariborz <fjahanian@apple.com>

ChangeLog:

2004-01-13 Fariborz Jahanian <fjahanian@apple.com>

        * config/rs6000/rs6000.c (rs6000_emit_move): split slow
        unaligned load/store into smaller loads and stores.


Attachment: patch_memalign.txt
Description: Text document


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