]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sparc.md (movdf_insn, movtf_insn): Fix type and length attributes to match May 3rd...
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>
Sat, 29 Aug 1998 21:14:50 +0000 (21:14 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 29 Aug 1998 21:14:50 +0000 (15:14 -0600)
        * config/sparc/sparc.md (movdf_insn, movtf_insn): Fix type and
        length attributes to match May 3rd changes made here.
        * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Fix and make
        call-used %l7 when generating pic code.

From-SVN: r22089

gcc/ChangeLog
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md

index ab57e50e485fc04884a0ff375cfc54fc32fd11ca..66a620a429ead28d53835f1df9c2c86f7482ad97 100644 (file)
@@ -1,3 +1,10 @@
+Sat Aug 29 14:52:28 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
+
+       * config/sparc/sparc.md (movdf_insn, movtf_insn): Fix type and
+       length attributes to match May 3rd changes made here.
+       * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Fix and make
+       call-used %l7 when generating pic code.
+
 Sat Aug 29 14:59:32 1998  Mumit Khan  <khan@xraylith.wisc.edu>
 
        * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
index 1f21659178a421d7f676aac682803c862798ca96..8dcc069a614cfed04f94c72e24d2159b457c7c45 100644 (file)
@@ -959,6 +959,11 @@ do                                                         \
        fixed_regs[1] = 1;                                      \
        fixed_regs[2] = 1;                                      \
       }                                                                \
+    if (flag_pic != 0)                                         \
+      {                                                                \
+        fixed_regs[23] = 1;                                    \
+        call_used_regs[23] = 1;                                        \
+      }                                                                \
   }                                                            \
 while (0)
 
index 47d2d3de7ad3c22a104d356f7f9fad21c776b0b0..4488b73bfb77c59a2ede0dc2bd850598e4821643 100644 (file)
     return output_fp_move_double (operands);
   return output_move_double (operands);
 }"
-  [(set_attr "type" "fpstore,fpload,fp,move,fpstore,store,fpload,load")
-   (set_attr "length" "1,1,2,2,3,3,3,3")])
+  [(set_attr "type" "fp,fpstore,fpload,fpstore,fpload,move,store,load")
+   (set_attr "length" "2,3,3,1,1,2,2,2")])
 
 ;; Exactly the same as above, except that all `e' cases are deleted.
 ;; This is necessary to prevent reload from ever trying to use a `e' reg
     return output_fp_move_quad (operands);
   return output_move_quad (operands);
 }"
-  [(set_attr "type" "fp,move,fpstore,store,fpload,load")
-   (set_attr "length" "4,4,5,5,5,5")])
+  [(set_attr "type" "fp,fpstore,fpload,move,store,load")
+   (set_attr "length" "5,4,4,5,4,4")])
 
 ;; Exactly the same as above, except that all `e' cases are deleted.
 ;; This is necessary to prevent reload from ever trying to use a `e' reg