]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[multiple changes]
authorJeff Law <law@gcc.gnu.org>
Sun, 23 May 1999 19:37:42 +0000 (13:37 -0600)
committerJeff Law <law@gcc.gnu.org>
Sun, 23 May 1999 19:37:42 +0000 (13:37 -0600)
Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
        * loop.c (strength_reduce): Grow reg_single_usage as needed.
Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
        * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
        Also remove a useless comment.
Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
        * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.

From-SVN: r27111

gcc/ChangeLog
gcc/config/i386/freebsd-elf.h
gcc/config/pa/pa.md
gcc/loop.c

index cbad49b308efe72eda641e270673e778f8299a58..ac3e2d79f383bf14ff4eb3e79ac0c6922f2fb752 100644 (file)
@@ -1,3 +1,16 @@
+Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
+
+        * loop.c (strength_reduce): Grow reg_single_usage as needed.
+
+Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
+
+       * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
+       Also remove a useless comment.
+
+Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
+
+       * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
 
        * collect2.c (main): Only generate import or export file and add
index 988f6a9842f4ada555b7cc42e1ca538df0341c34..35ea674ccd867d5d19c801e5247b42ca91978e37 100644 (file)
@@ -187,9 +187,7 @@ Boston, MA 02111-1307, USA.  */
       %{!static: \
        %{rdynamic:-export-dynamic} \
        %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
-       %{static:-static}}}"
-
-/* Get perform_* macros to build libgcc.a.  */
+       %{static:-Bstatic}}}"
 
 /* A C statement to output to the stdio stream FILE an assembler
    command to advance the location counter to a multiple of 1<<LOG
index 09294c41db6545fe7298a1712d7352f5055c4f40..05a1b974adcef1d9a4ffbbb334ebdec0e253059c 100644 (file)
   [(set (match_operand:DF 0 "register_operand" "=f")
        (neg:DF (match_operand:DF 1 "register_operand" "f")))]
   "! TARGET_SOFT_FLOAT"
-  "fsub,dbl %%fr0,%1,%0"
+  "*
+{
+  if (TARGET_PA_20)
+    return \"fneg,dbl %1,%0\";
+  else
+    return \"fsub,dbl %%fr0,%1,%0\";
+}"
   [(set_attr "type" "fpalu")
    (set_attr "length" "4")])
 
   [(set (match_operand:SF 0 "register_operand" "=f")
        (neg:SF (match_operand:SF 1 "register_operand" "f")))]
   "! TARGET_SOFT_FLOAT"
-  "fsub,sgl %%fr0,%1,%0"
+  "*
+{
+  if (TARGET_PA_20)
+    return \"fneg,sgl %1,%0\";
+  else
+    return \"fsub,sgl %%fr0,%1,%0\";
+}"
   [(set_attr "type" "fpalu")
    (set_attr "length" "4")])
 
index 192461a934cbf11784e9930f56094f41ca66c257..244d939f34f51c0d8ef6cd5e1ca7c7f7748548df 100644 (file)
@@ -4198,6 +4198,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
                  VARRAY_GROW (set_in_loop, nregs);
                  VARRAY_GROW (n_times_set, nregs);
                  VARRAY_GROW (may_not_optimize, nregs);
+                 VARRAY_GROW (reg_single_usage, nregs);
                }
     
              if (! validate_change (next->insn, next->location, add_val, 0))