summaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-16 18:37:06 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-16 18:37:06 +0000
commitcd6839f25671d6cbab327068ae961af5f39285af (patch)
tree809cab32b29980a57c931b62a5e25b8142a82b84 /gcc/loop.h
parent3354d06135697ca8167dd76698a62d6abd0b0ecc (diff)
downloadgcc-cd6839f25671d6cbab327068ae961af5f39285af.tar.gz
* loop.h (struct loop_info): Add member has_prefetch.
* loop.c (PREFETCH_CONDITIONAL): Change default to 1. (prescan_loop): Initialize has_prefetch. (struct prefetch_info): Change prefetch_in_loop and prefetch_before_loop from bit fields to ints. (emit_prefetch_instructions): Several small fixes. (check_dbra_loop): Don't reverse loop that uses prefetch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53524 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r--gcc/loop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/loop.h b/gcc/loop.h
index 8e3a9351f36..3df9cfc33fc 100644
--- a/gcc/loop.h
+++ b/gcc/loop.h
@@ -304,6 +304,8 @@ struct loop_info
int has_libcall;
/* Nonzero if there is a non constant call in the current loop. */
int has_nonconst_call;
+ /* Nonzero if there is a prefetch instruction in the current loop. */
+ int has_prefetch;
/* Nonzero if there is a volatile memory reference in the current
loop. */
int has_volatile;