aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJanis Johnson <janis@gcc.gnu.org>2001-12-04 00:42:00 +0000
committerJanis Johnson <janis@gcc.gnu.org>2001-12-04 00:42:00 +0000
commit8527852a3bc2599bcb0f2931e31360196e75ecf7 (patch)
treed0886d98e327cb6d5aa5f54a00c907c048fb17aa /gcc
parent7a9aba6ccfd5937a67da1076801c472bd698aafd (diff)
downloadgcc-8527852a3bc2599bcb0f2931e31360196e75ecf7.zip
gcc-8527852a3bc2599bcb0f2931e31360196e75ecf7.tar.gz
gcc-8527852a3bc2599bcb0f2931e31360196e75ecf7.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/ia64/ia64.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index 3f0b0c8..af1d52b 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