2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-09 17:31:09 +08:00

* config/sh/sh.md (prefetch): New pattern.

From-SVN: r73492
This commit is contained in:
J"orn Rennecke 2003-11-12 14:05:42 +00:00 committed by Joern Rennecke
parent 8f28a5d250
commit 88f08cca28
2 changed files with 17 additions and 0 deletions
gcc

@ -1,3 +1,7 @@
2003-11-12 J"orn Rennecke <joern.rennecke@superh.com>
* config/sh/sh.md (prefetch): New pattern.
2003-11-11 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Verify that addresses for

@ -10689,6 +10689,19 @@ mov.l\\t1f,r0\\n\\
"byterev %1, %0"
[(set_attr "type" "arith_media")])
(define_insn "prefetch"
[(prefetch (match_operand:QI 0 "address_operand" "p")
(match_operand:SI 1 "const_int_operand" "n")
(match_operand:SI 2 "const_int_operand" "n"))]
"TARGET_SHMEDIA"
"*
{
operands[0] = gen_rtx_MEM (QImode, operands[0]);
output_asm_insn (\"ld%M0.b %m0,r63\", operands);
return \"\";
}"
[(set_attr "type" "other")])
;; The following description models the
;; SH4 pipeline using the DFA based scheduler.
;; The DFA based description is better way to model