]> gcc.gnu.org Git - gcc.git/commitdiff
pa.md (cacheflush): Rework pattern and output template to avoid using REG+D addressing.
authorJeff Law <law@gcc.gnu.org>
Sat, 24 Apr 1993 17:08:24 +0000 (11:08 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 24 Apr 1993 17:08:24 +0000 (11:08 -0600)
* pa.md (cacheflush): Rework pattern and output template to avoid
using REG+D addressing.

From-SVN: r4210

gcc/config/pa/pa.md

index 2042dc59fa5a2c609c1cd12b2c73497e7651fec2..88c1499b09eece7dda45f07f9cc3f84ecc49e735 100644 (file)
 ;; is sufficient.
 (define_insn "cacheflush"
   [(unspec_volatile [(const_int 1)] 0)
-   (use (match_operand:SI 0 "" ""))]
+   (use (mem:SI (match_operand:SI 0 "register_operand" "r")))]
   ""
-  "fdc %0\;sync\;fic %0\;sync\;nop\;nop\;nop\;nop\;nop\;nop\;nop"
+  "fdc 0(0,%0)\;sync\;fic 0(0,%0)\;sync\;nop\;nop\;nop\;nop\;nop\;nop\;nop"
   [(set_attr "length" "11")])
This page took 0.0655 seconds and 5 git commands to generate.