OSDN Git Service

* gcc.target/i386/sw-1.c: Force rep;movsb.
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / i386.h
index 7721c46..b10a13c 100644 (file)
@@ -159,8 +159,12 @@ struct processor_costs {
   const int fchs;              /* cost of FCHS instruction.  */
   const int fsqrt;             /* cost of FSQRT instruction.  */
                                /* Specify what algorithm
-                                  to use for stringops on unknown size.  */
-  struct stringop_algs memcpy[2], memset[2];
+                                  to use for stringops on unknown size.
+                                  First index is used to specify whether
+                                  alignment is known or not.
+                                  Second - to specify whether 32 or 64 bits
+                                  are used.  */
+  struct stringop_algs memcpy[2][2], memset[2][2];
   const int scalar_stmt_cost;   /* Cost of any scalar operation, excluding
                                   load and store.  */
   const int scalar_load_cost;   /* Cost of scalar load.  */