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
This commit is contained in:
Eric Christopher 2001-11-06 22:38:15 +00:00
parent d23c55c28c
commit e0e0032981
3 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,9 @@
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> 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
* alias.c:: Include langhooks.h. * alias.c:: Include langhooks.h.
@ -61,6 +67,7 @@ Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
arrays. arrays.
Fixes PR c/461. Fixes PR c/461.
>>>>>>> 1.11778
2001-11-05 Zack Weinberg <zack@codesourcery.com> 2001-11-05 Zack Weinberg <zack@codesourcery.com>
* aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS. * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
@ -68,13 +75,13 @@ Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
corresponding to the complete set of .po and .gmo files in corresponding to the complete set of .po and .gmo files in
the source directory's po subdir, modified by LINGUAS. Don't the source directory's po subdir, modified by LINGUAS. Don't
look at ALL_LINGUAS. look at ALL_LINGUAS.
* configure.in: Don't set ALL_LINGUAS. * configure.in: Don't set ALL_LINGUAS.
* configure: Regenerate. * configure: Regenerate.
* Makefile.in (.po.gmo): Don't move into source directory. * Makefile.in (.po.gmo): Don't move into source directory.
(.po.pox): Clarify comments. (.po.pox): Clarify comments.
(install-po): Look for .gmo files in both srcdir and objdir; (install-po): Look for .gmo files in both srcdir and objdir;
don't fail if a file is totally missing. don't fail if a file is totally missing.
(distclean): rmdir ada subdirectory too. (distclean): rmdir ada subdirectory too.
2001-11-05 Geoffrey Keating <geoffk@redhat.com> 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
@ -110,7 +117,7 @@ Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
remove unneded depdendencies; remove unneded depdendencies;
(cfglayout.o): New. (cfglayout.o): New.
* cfglayout.c, cfglayout.h: New files; break out from ... * cfglayout.c, cfglayout.h: New files; break out from ...
* bb-reorder.c: ... here; Remove unneeded includes; * bb-reorder.c: ... here; Remove unneeded includes;
2001-11-04 Alan Modra <amodra@bigpond.net.au> 2001-11-04 Alan Modra <amodra@bigpond.net.au>

View File

@ -25,6 +25,9 @@ Boston, MA 02111-1307, USA. */
#define TARGET_DEFAULT MASK_FLOAT64|MASK_64BIT #define TARGET_DEFAULT MASK_FLOAT64|MASK_64BIT
#define MIPS_ISA_DEFAULT 3 #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 /* Until we figure out what MIPS ELF targets normally use, just do
stabs in ELF. */ stabs in ELF. */
#ifndef PREFERRED_DEBUGGING_TYPE #ifndef PREFERRED_DEBUGGING_TYPE

View File

@ -6258,17 +6258,17 @@ move\\t%0,%z4\\n\\
(set_attr "length" "4,8,4,4,8,8,8,8,4,8,4,4")]) (set_attr "length" "4,8,4,4,8,8,8,8,4,8,4,4")])
(define_insn "movdf_internal2" (define_insn "movdf_internal2"
[(set (match_operand:DF 0 "nonimmediate_operand" "=d,d,d,R,To") [(set (match_operand:DF 0 "nonimmediate_operand" "=d,d,d,R,To,*d")
(match_operand:DF 1 "general_operand" "dG,R,ToF,d,d"))] (match_operand:DF 1 "general_operand" "dG,R,ToF,d,d,*f"))]
"(TARGET_SOFT_FLOAT || TARGET_SINGLE_FLOAT) && !TARGET_MIPS16 "(TARGET_SOFT_FLOAT || TARGET_SINGLE_FLOAT) && !TARGET_MIPS16
&& (register_operand (operands[0], DFmode) && (register_operand (operands[0], DFmode)
|| register_operand (operands[1], DFmode) || register_operand (operands[1], DFmode)
|| (GET_CODE (operands[1]) == CONST_INT && INTVAL (operands[1]) == 0) || (GET_CODE (operands[1]) == CONST_INT && INTVAL (operands[1]) == 0)
|| operands[1] == CONST0_RTX (DFmode))" || operands[1] == CONST0_RTX (DFmode))"
"* return mips_move_2words (operands, insn); " "* 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 "mode" "DF")
(set_attr "length" "8,8,16,8,16")]) (set_attr "length" "8,8,16,8,16,8")])
(define_insn "" (define_insn ""
[(set (match_operand:DF 0 "nonimmediate_operand" "=d,y,d,d,d,R,To") [(set (match_operand:DF 0 "nonimmediate_operand" "=d,y,d,d,d,R,To")