From: Jim Wilson Date: Fri, 31 May 1996 19:00:22 +0000 (-0700) Subject: (jump, tablejump_internal1, tablejump_internal2): Add X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=694aa3f2a28d53464aaddee011f1652793ae222e;p=gcc.git (jump, tablejump_internal1, tablejump_internal2): Add -mabi=n32 support. From-SVN: r12130 --- diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index ead8cdc34f9..400dc538f9d 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -5808,7 +5808,7 @@ move\\t%0,%z4\\n\\ /* ??? I don't know why this is necessary. This works around an assembler problem that appears when a label is defined, then referenced in a switch table, then used in a `j' instruction. */ - else if (ABI_64BIT && mips_isa >= 3) + else if (mips_abi != ABI_32) return \"%*b\\t%l0\"; else return \"%*j\\t%l0\"; @@ -5886,7 +5886,7 @@ move\\t%0,%z4\\n\\ "* { /* .cpadd expands to add REG,REG,$gp when pic, and nothing when not pic. */ - if (TARGET_ABICALLS && (! ABI_64BIT || mips_isa < 3)) + if (TARGET_ABICALLS && mips_abi == ABI_32) output_asm_insn (\".cpadd\\t%0\", operands); return \"%*j\\t%0\"; }" @@ -5906,7 +5906,7 @@ move\\t%0,%z4\\n\\ { /* .cpdadd expands to dadd REG,REG,$gp when pic, and nothing when not pic. */ /* ??? SGI as does not have a .cpdadd. */ - if (TARGET_ABICALLS && (! ABI_64BIT || mips_isa < 3)) + if (TARGET_ABICALLS && mips_abi == ABI_32) output_asm_insn (\".cpadd\\t%0\", operands); return \"%*j\\t%0\"; }"