diff options
author | Janis Johnson <janis187@us.ibm.com> | 2002-05-16 18:37:06 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2002-05-16 18:37:06 +0000 |
commit | 62e6ca55bd6a235d9feccd4ac48c2b89e0bc32e5 (patch) | |
tree | 809cab32b29980a57c931b62a5e25b8142a82b84 /gcc/loop.h | |
parent | 1e6347d8b985c539ddce9bce71b3483ace55ec74 (diff) | |
download | gcc-62e6ca55bd6a235d9feccd4ac48c2b89e0bc32e5.zip gcc-62e6ca55bd6a235d9feccd4ac48c2b89e0bc32e5.tar.gz gcc-62e6ca55bd6a235d9feccd4ac48c2b89e0bc32e5.tar.bz2 |
loop.h (struct loop_info): Add member has_prefetch.
* 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.
From-SVN: r53524
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |