From 8527852a3bc2599bcb0f2931e31360196e75ecf7 Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Tue, 4 Dec 2001 00:42:00 +0000 Subject: [PATCH] ia64.h (SIMULTANEOUS PREFETCHES): Define. * 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 3f0b0c820a0..af1d52bfd31 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -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 -- 2.30.2