Commit e0e00329 by Eric Christopher

mips.md (movdf_internal2): Add constraints for float to general register move.

2001-11-06  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.md(movdf_internal2): Add constraints for float
	to general register move.
	* config/mips/elf64.h: Add default ABI.

From-SVN: r46814
parent d23c55c2
2001-11-06 Eric Christopher <echristo@redhat.com>
* config/mips/mips.md(movdf_internal2): Add constraints for float
to general register move.
* config/mips/elf64.h: Add default ABI.
2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
* alias.c:: Include langhooks.h.
......@@ -61,6 +67,7 @@ Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
arrays.
Fixes PR c/461.
>>>>>>> 1.11778
2001-11-05 Zack Weinberg <zack@codesourcery.com>
* aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
......
......@@ -25,6 +25,9 @@ Boston, MA 02111-1307, USA. */
#define TARGET_DEFAULT MASK_FLOAT64|MASK_64BIT
#define MIPS_ISA_DEFAULT 3
/* This should change to n32 when it is supported in gas. */
#define MIPS_ABI_DEFAULT ABI_O64
/* Until we figure out what MIPS ELF targets normally use, just do
stabs in ELF. */
#ifndef PREFERRED_DEBUGGING_TYPE
......
......@@ -6258,17 +6258,17 @@ move\\t%0,%z4\\n\\
(set_attr "length" "4,8,4,4,8,8,8,8,4,8,4,4")])
(define_insn "movdf_internal2"
[(set (match_operand:DF 0 "nonimmediate_operand" "=d,d,d,R,To")
(match_operand:DF 1 "general_operand" "dG,R,ToF,d,d"))]
[(set (match_operand:DF 0 "nonimmediate_operand" "=d,d,d,R,To,*d")
(match_operand:DF 1 "general_operand" "dG,R,ToF,d,d,*f"))]
"(TARGET_SOFT_FLOAT || TARGET_SINGLE_FLOAT) && !TARGET_MIPS16
&& (register_operand (operands[0], DFmode)
|| register_operand (operands[1], DFmode)
|| (GET_CODE (operands[1]) == CONST_INT && INTVAL (operands[1]) == 0)
|| operands[1] == CONST0_RTX (DFmode))"
"* return mips_move_2words (operands, insn); "
[(set_attr "type" "move,load,load,store,store")
[(set_attr "type" "move,load,load,store,store,xfer")
(set_attr "mode" "DF")
(set_attr "length" "8,8,16,8,16")])
(set_attr "length" "8,8,16,8,16,8")])
(define_insn ""
[(set (match_operand:DF 0 "nonimmediate_operand" "=d,y,d,d,d,R,To")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment