This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

various minor correction for i386


- misnamed patterns for floating point absolute calculations (the wrong
naming doesn't appear to have any bad effect due to the way the
expanders are coded).
- omitted parameters for Pentium4
- unused builtin enumerators

+++ 3.4.0/gcc/config/i386/i386.md	2004-05-10 09:30:53.889976392
+0200
@@ -9972,7 +10079,7 @@
 
 (define_expand "abssf2"
   [(parallel [(set (match_operand:SF 0 "nonimmediate_operand" "")
-		   (neg:SF (match_operand:SF 1 "nonimmediate_operand"
"")))
+		   (abs:SF (match_operand:SF 1 "nonimmediate_operand"
"")))
 	      (clobber (reg:CC 17))])]
   "TARGET_80387"
   "if (TARGET_SSE)
@@ -10111,7 +10218,7 @@
 
 (define_expand "absdf2"
   [(parallel [(set (match_operand:DF 0 "nonimmediate_operand" "")
-		   (neg:DF (match_operand:DF 1 "nonimmediate_operand"
"")))
+		   (abs:DF (match_operand:DF 1 "nonimmediate_operand"
"")))
 	      (clobber (reg:CC 17))])]
   "TARGET_80387"
   "if (TARGET_SSE2)
@@ -10267,7 +10373,7 @@
 
 (define_expand "absxf2"
   [(parallel [(set (match_operand:XF 0 "nonimmediate_operand" "")
-		   (neg:XF (match_operand:XF 1 "nonimmediate_operand"
"")))
+		   (abs:XF (match_operand:XF 1 "nonimmediate_operand"
"")))
 	      (clobber (reg:CC 17))])]
   "TARGET_80387"
   "ix86_expand_unary_operator (ABS, XFmode, operands); DONE;")
--- /usr/local/src/gcc-3.4.0/gcc/config/i386/i386.c	2004-02-25
01:40:54.000000000 +0100
+++ 3.4.0/gcc/config/i386/i386.c	2004-05-07 16:24:05.000000000
+0200
@@ -1066,7 +1066,7 @@
       {&pentiumpro_cost, 0, 0, 16, 15, 16, 7, 16},
       {&k6_cost, 0, 0, 32, 7, 32, 7, 32},
       {&athlon_cost, 0, 0, 16, 7, 16, 7, 16},
-      {&pentium4_cost, 0, 0, 0, 0, 0, 0, 0},
+      {&pentium4_cost, 0, 0, 16, 15, 16, 7, 32},
       {&k8_cost, 0, 0, 16, 7, 16, 7, 16}
     };
 
--- /usr/local/src/gcc-3.4.0/gcc/config/i386/i386.h	2004-03-09
03:59:59.000000000 +0100
+++ 3.4.0/gcc/config/i386/i386.h	2004-05-06 14:46:05.000000000
+0200
@@ -2106,7 +2106,6 @@
   IX86_BUILTIN_CMPNGEPS,
   IX86_BUILTIN_CMPORDPS,
   IX86_BUILTIN_CMPUNORDPS,
-  IX86_BUILTIN_CMPNEPS,
   IX86_BUILTIN_CMPEQSS,
   IX86_BUILTIN_CMPLTSS,
   IX86_BUILTIN_CMPLESS,
@@ -2115,7 +2114,6 @@
   IX86_BUILTIN_CMPNLESS,
   IX86_BUILTIN_CMPORDSS,
   IX86_BUILTIN_CMPUNORDSS,
-  IX86_BUILTIN_CMPNESS,
 
   IX86_BUILTIN_COMIEQSS,
   IX86_BUILTIN_COMILTSS,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]