re PR target/2623 ([ARM/2.95] Wrong code when accessing unsigned short in a structure.)

PR target/2623
* arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
(loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
these patterns on arm_archv4.

From-SVN: r51345
This commit is contained in:
Richard Earnshaw 2002-03-25 22:22:35 +00:00 committed by Richard Earnshaw
parent f695acf69c
commit f235639360
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2002-03-25 Richard Earnshaw <rearnsha@arm.com>
PR target/2623
* arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
(loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
these patterns on arm_archv4.
2002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
* config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned

View File

@ -8280,6 +8280,7 @@
"TARGET_ARM
&& !BYTES_BIG_ENDIAN
&& !TARGET_MMU_TRAPS
&& !arm_arch4
&& REGNO (operands[0]) != FRAME_POINTER_REGNUM
&& REGNO (operands[1]) != FRAME_POINTER_REGNUM
&& (GET_CODE (operands[2]) != REG
@ -8298,6 +8299,7 @@
"TARGET_ARM
&& !BYTES_BIG_ENDIAN
&& !TARGET_MMU_TRAPS
&& !arm_arch4
&& REGNO (operands[0]) != FRAME_POINTER_REGNUM
&& REGNO (operands[1]) != FRAME_POINTER_REGNUM
&& (GET_CODE (operands[2]) != REG
@ -8462,6 +8464,7 @@
"TARGET_ARM
&& !BYTES_BIG_ENDIAN
&& !TARGET_MMU_TRAPS
&& !arm_arch4
&& REGNO (operands[0]) != FRAME_POINTER_REGNUM
&& REGNO (operands[1]) != FRAME_POINTER_REGNUM
&& REGNO (operands[3]) != FRAME_POINTER_REGNUM"
@ -8482,6 +8485,7 @@
"TARGET_ARM
&& !BYTES_BIG_ENDIAN
&& !TARGET_MMU_TRAPS
&& !arm_arch4
&& REGNO (operands[0]) != FRAME_POINTER_REGNUM
&& REGNO (operands[1]) != FRAME_POINTER_REGNUM
&& REGNO (operands[3]) != FRAME_POINTER_REGNUM"
@ -8545,6 +8549,7 @@
"TARGET_ARM
&& !BYTES_BIG_ENDIAN
&& !TARGET_MMU_TRAPS
&& !arm_arch4
&& REGNO (operands[0]) != REGNO(operands[1])
&& (GET_CODE (operands[2]) != REG
|| REGNO(operands[0]) != REGNO (operands[2]))"