RFC: Prefetch instruction support
Richard Henderson
rth@cygnus.com
Tue Apr 11 22:20:00 GMT 2000
On Tue, Apr 11, 2000 at 07:08:53PM -0400, Michael Meissner wrote:
> (insn 92 28 30 (prefetch (mem:SI (plus:SI (plus:SI (mult:SI (reg/v:SI 26)
> (const_int 4))
> (reg:SI 29))
> (const_int 128)))))
That might be helpful.
For testing, Jan, you might have better luck with (use (unspec [])),
than with an unspec_volatile. The later severely inhibits scheduling,
which you don't want.
Also, you might want to get rid of the mem, since you probably don't
want the prefetch to restrict the schedule of a store. Retain only
the address in the pattern via
(match_operand:QI N "address_operand" "p")
or such.
r~
More information about the Gcc
mailing list