X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=crossm68k-gcc-zext.patch;fp=crossm68k-gcc-zext.patch;h=0000000000000000000000000000000000000000;hb=43a90f767eb5fb6aceeef5235743c651c23099e8;hp=ea45875b34f4b031a96879382357984c7218807a;hpb=1b8f31c8b1d8f68f39d532bf95ec9374da716842;p=packages%2Fcrossm68k-gcc.git diff --git a/crossm68k-gcc-zext.patch b/crossm68k-gcc-zext.patch deleted file mode 100644 index ea45875..0000000 --- a/crossm68k-gcc-zext.patch +++ /dev/null @@ -1,49 +0,0 @@ -# -# This patch can be found at http://www.uclinux.org/pub/uClinux/m68k-elf-tools/ -# -diff -Naur gcc-2.95.3.org/gcc/config/m68k/m68k.md gcc-2.95.3/gcc/config/m68k/m68k.md ---- gcc-2.95.3.org/gcc/config/m68k/m68k.md Thu Aug 5 16:22:05 1999 -+++ gcc-2.95.3/gcc/config/m68k/m68k.md Mon Dec 16 10:37:47 2002 -@@ -1486,10 +1486,40 @@ - }") - - ;; this is the canonical form for (lshiftrt:DI x 32) --(define_insn "zero_extendsidi2" -+(define_expand "zero_extendsidi2" -+ [(set (match_operand:DI 0 "nonimmediate_operand" "") -+ (zero_extend:DI (match_operand:SI 1 "general_operand" "")))] -+ "" -+ "") -+ -+(define_insn "*zero_extendsidi2_cf" -+ [(set (match_operand:DI 0 "nonimmediate_operand" "=r,m") -+ (zero_extend:DI (match_operand:SI 1 "general_operand" "rm,r")))] -+ "TARGET_5200" -+ "* -+{ -+ CC_STATUS_INIT; -+ if (GET_CODE (operands[0]) == REG) -+ operands[2] = gen_rtx_REG (SImode, REGNO (operands[0]) + 1); -+ else if (GET_CODE (XEXP (operands[0], 0)) == PRE_DEC) -+ return \"move%.l %1,%0\;clr%.l %0\"; -+ else if (GET_CODE (XEXP (operands[0], 0)) == POST_INC) -+ return \"clr%.l %0\;move%.l %1,%0\"; -+ else -+ operands[2] = adj_offsettable_operand (operands[0], 4); -+ if (GET_CODE (operands[1]) != REG || GET_CODE (operands[2]) != REG -+ || REGNO (operands[1]) != REGNO (operands[2])) -+ output_asm_insn (\"move%.l %1,%2\", operands); -+ if (ADDRESS_REG_P (operands[0])) -+ return \"sub%.l %0,%0\"; -+ else -+ return \"clr%.l %0\"; -+}") -+ -+(define_insn "*zero_extendsidi2" - [(set (match_operand:DI 0 "general_operand" "rm") - (zero_extend:DI (match_operand:SI 1 "general_operand" "rm")))] -- "" -+ "!TARGET_5200" - "* - { - CC_STATUS_INIT;