diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2002-01-25 04:32:46 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2002-01-25 04:32:46 +0000 |
commit | 70e531f52eba5ea2187e2d411fe9b5c1a9a945f1 (patch) | |
tree | f1dfc1e8aeae8dd677d1aadda7014ef911864d93 /gcc/loop.c | |
parent | 6b20f9b59abbb8bdfe9a0019a4914d2e30d4c745 (diff) | |
download | gcc-70e531f52eba5ea2187e2d411fe9b5c1a9a945f1.zip gcc-70e531f52eba5ea2187e2d411fe9b5c1a9a945f1.tar.gz gcc-70e531f52eba5ea2187e2d411fe9b5c1a9a945f1.tar.bz2 |
loop.c (emit_prefetch_instructions): Use the prefetch insn's mode, not Pmode.
2002-01-24 Aldy Hernandez <aldyh@redhat.com>
* loop.c (emit_prefetch_instructions): Use the prefetch insn's
mode, not Pmode.
* builtins.c (expand_builtin_prefetch): Same.
From-SVN: r49200
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4023,7 +4023,8 @@ emit_prefetch_instructions (loop) /* Make sure the address operand is valid for prefetch. */ if (! (*insn_data[(int)CODE_FOR_prefetch].operand[0].predicate) - (loc, Pmode)) + (loc, + insn_data[(int)CODE_FOR_prefetch].operand[0].mode)) loc = force_reg (Pmode, loc); emit_insn_before (gen_prefetch (loc, GEN_INT (info[i].write), GEN_INT (3)), |