ia64.h (SIMULTANEOUS PREFETCHES): Define.
authorJanis Johnson <janis@gcc.gnu.org>
Tue, 4 Dec 2001 00:42:00 +0000 (00:42 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Tue, 4 Dec 2001 00:42:00 +0000 (00:42 +0000)
* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
  (PREFETCH_BLOCK): Define.
* config/ia64/ia64.md (itanium_class): Add lfetch.
  (prefetch, prefetch_internal): New.
  prefetch_sse.

From-SVN: r47578

gcc/config/ia64/ia64.h

index 3f0b0c820a0f8daf93e769881d0c86dd42f147e4..af1d52bfd3169dd5bbcc02415c5d18c1cf97eeb7 100644 (file)
@@ -2707,6 +2707,19 @@ do {                                                                     \
    #pragma weak.  Note, #pragma weak will only be supported if SUPPORT_WEAK is
    defined.  */
 
+/* If this architecture supports prefetch, define this to be the number of
+   prefetch commands that can be executed in parallel.
+
+   ??? This number is bogus and needs to be replaced before the value is
+   actually used in optimizations.  */
+
+#define SIMULTANEOUS_PREFETCHES 6
+
+/* If this architecture supports prefetch, define this to be the size of
+   the cache line that is prefetched.  */
+
+#define PREFETCH_BLOCK 32
+
 #define HANDLE_SYSV_PRAGMA
 
 /* In rare cases, correct code generation requires extra machine dependent