This is the mail archive of the gcc-bugs@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]

[patch] target/7211: Alpha prefetch hints interpreted wrong


Hi,

here's a patch for this problem. It would be nice if it could be
applied, as for example currently -fprefetch-loop-arrays emits "evict
soon" prefetches, which might be bad for performance.

        Falk

--- alpha.md~	Fri Aug 23 04:48:01 2002
+++ alpha.md	Mon Aug 26 23:48:18 2002
@@ -6976,12 +6976,12 @@
      and leave the LRU eviction counter pointing to that block.  */
   static const char * const alt[2][2] = {
     { 
-      "lds $f31,%a0",		/* read, evict next */
+      "ldq $31,%a0",		/* read, evict next */
       "ldl $31,%a0",		/* read, evict last */
     },
     {
       "ldt $f31,%a0",		/* write, evict next */
-      "ldq $31,%a0",		/* write, evict last */
+      "lds $f31,%a0",		/* write, evict last */
     }
   };
 

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