From: Eric Christopher Date: Tue, 6 Nov 2001 22:38:15 +0000 (+0000) Subject: mips.md (movdf_internal2): Add constraints for float to general register move. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0e003298194a7fbd968cbd590e29795847f4934;p=gcc.git mips.md (movdf_internal2): Add constraints for float to general register move. 2001-11-06 Eric Christopher * config/mips/mips.md(movdf_internal2): Add constraints for float to general register move. * config/mips/elf64.h: Add default ABI. From-SVN: r46814 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c88f247d6a..3d76402fec9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-11-06 Eric Christopher + + * 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 * alias.c:: Include langhooks.h. @@ -61,6 +67,7 @@ Tue Nov 6 09:21:34 2001 Richard Kenner arrays. Fixes PR c/461. +>>>>>>> 1.11778 2001-11-05 Zack Weinberg * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS. @@ -68,13 +75,13 @@ Tue Nov 6 09:21:34 2001 Richard Kenner corresponding to the complete set of .po and .gmo files in the source directory's po subdir, modified by LINGUAS. Don't look at ALL_LINGUAS. - * configure.in: Don't set ALL_LINGUAS. + * configure.in: Don't set ALL_LINGUAS. * configure: Regenerate. * Makefile.in (.po.gmo): Don't move into source directory. (.po.pox): Clarify comments. (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. 2001-11-05 Geoffrey Keating @@ -110,7 +117,7 @@ Mon Nov 5 16:15:25 CET 2001 Jan Hubicka remove unneded depdendencies; (cfglayout.o): New. * 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 diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h index 0317fde5380..2f520282bb6 100644 --- a/gcc/config/mips/elf64.h +++ b/gcc/config/mips/elf64.h @@ -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 diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 2447262f05e..a69440891a1 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -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")