diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2008-12-02 18:10:03 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2008-12-02 18:10:03 +0000 |
commit | 95f2b6bb76e1ac16595034330e839d5f86e53df0 (patch) | |
tree | cc97b7c9bdecfb3c38e8665a0eccc240e3cdd309 /toolchain/gcc/patches/4.2.4/905-avr32_fix_folding_machine_reorg_optimizations.patch | |
parent | 9e54c8bf9e776de5330fd33786283aa1b2f07b3a (diff) | |
download | upstream-95f2b6bb76e1ac16595034330e839d5f86e53df0.tar.gz upstream-95f2b6bb76e1ac16595034330e839d5f86e53df0.tar.bz2 upstream-95f2b6bb76e1ac16595034330e839d5f86e53df0.zip |
sync gcc patches with the Atmel 1.1.3 release
SVN-Revision: 13480
Diffstat (limited to 'toolchain/gcc/patches/4.2.4/905-avr32_fix_folding_machine_reorg_optimizations.patch')
-rw-r--r-- | toolchain/gcc/patches/4.2.4/905-avr32_fix_folding_machine_reorg_optimizations.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/toolchain/gcc/patches/4.2.4/905-avr32_fix_folding_machine_reorg_optimizations.patch b/toolchain/gcc/patches/4.2.4/905-avr32_fix_folding_machine_reorg_optimizations.patch deleted file mode 100644 index b72e47a3b8..0000000000 --- a/toolchain/gcc/patches/4.2.4/905-avr32_fix_folding_machine_reorg_optimizations.patch +++ /dev/null @@ -1,46 +0,0 @@ -Index: gcc-4.2.3/gcc/config/avr32/avr32.c -=================================================================== ---- gcc-4.2.3.orig/gcc/config/avr32/avr32.c 2008-05-21 13:45:58.533289214 +0200 -+++ gcc-4.2.3/gcc/config/avr32/avr32.c 2008-05-21 13:45:59.762288215 +0200 -@@ -6323,23 +6323,24 @@ - /* If used any other place than as a pointer or as the - destination register we failed */ - if (!(single_set (scan) -- && GET_CODE (PATTERN (scan)) == SET -- && ((MEM_P (SET_DEST (PATTERN (scan))) -- && REG_P (XEXP (SET_DEST (PATTERN (scan)), 0)) -- && REGNO (XEXP (SET_DEST (PATTERN (scan)), 0)) == -- REGNO (reg)) || (MEM_P (SET_SRC (PATTERN (scan))) -- && -- REG_P (XEXP -- (SET_SRC (PATTERN (scan)), -- 0)) -- && -- REGNO (XEXP -- (SET_SRC (PATTERN (scan)), -- 0)) == REGNO (reg)))) -- && !(GET_CODE (PATTERN (scan)) == SET -- && REG_P (SET_DEST (PATTERN (scan))) -- && !regno_use_in (REGNO (reg), -- SET_SRC (PATTERN (scan))))) -+ && GET_CODE (PATTERN (scan)) == SET -+ && ((MEM_P (SET_DEST (PATTERN (scan))) -+ && REG_P (XEXP (SET_DEST (PATTERN (scan)), 0)) -+ && REGNO (XEXP (SET_DEST (PATTERN (scan)), 0)) == REGNO (reg)) -+ || (MEM_P (SET_SRC (PATTERN (scan))) -+ && REG_P (XEXP (SET_SRC (PATTERN (scan)), 0)) -+ && REGNO (XEXP -+ (SET_SRC (PATTERN (scan)), 0)) == REGNO (reg)))) -+ && !(GET_CODE (PATTERN (scan)) == SET -+ && REG_P (SET_DEST (PATTERN (scan))) -+ && !regno_use_in (REGNO (reg), -+ SET_SRC (PATTERN (scan))))) -+ break; -+ -+ /* We cannot replace the pointer in TImode insns -+ as these has a differene addressing mode than the other -+ memory insns. */ -+ if ( GET_MODE (SET_DEST (PATTERN (scan))) == TImode ) - break; - - /* Check if register is dead or set in this insn */ |