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] | |
A NetBSD developer using a big-endian ARM system recently pointed out that the compiler was generating incorrect code for some half-word operations. This patch fixes the problem by eliminating use of subreg in the md expand patterns (using gen_lowpart instead). This patch is reported to have solved the problems, and has been tested by me on an arm-elf cross for both big and little-endian. R. 2003-11-12 Richard Earnshaw <rearnsha@arm.com> * arm.md (storehi): Avoid use of explicit subreg. (storehi_bigend, storeinthi, movhi_bigend): Likewise.
Attachment:
be-hi.patch
Description: be-hi.patch
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |