This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[patch] target/7211: Alpha prefetch hints interpreted wrong
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2002 00:14:21 +0200
- Subject: [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 */
}
};