pa.h (TRAMPOLINE_TEMPLATE): Shorten sequence when generating PA 2.0 code.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sat, 20 Dec 2003 17:24:15 +0000 (17:24 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 20 Dec 2003 17:24:15 +0000 (17:24 +0000)
commit3914c31fc6095844415cef8f73d8efd858765cb7
treead63993b40749ecdb0b5c476c3c3a8a3d6c0edf8
parent6ae533cf8947fe7f6e536adf5431b13e28f844f3
pa.h (TRAMPOLINE_TEMPLATE): Shorten sequence when generating PA 2.0 code.

* pa.h (TRAMPOLINE_TEMPLATE): Shorten sequence when generating PA
2.0 code.
(TRAMPOLINE_CODE_SIZE, MIN_CACHELINE_SIZE): New defines.
(INITIALIZE_TRAMPOLINE): Rework to pass line length, and aligned start
and end addresses to I and D cache instruction patterns.
* pa.md (anddi3, iordi3): Change predicates of operands 1 and 2 to
and_operand and ior_operand, respectively.  When generating 64-bit
code, only one operand needs to be a register operand.
(xordi3): Change predicates of operands 1 and 2 to register_operand.
(one_cmpldi2): Change predicate of operand 1 to register_operand.
(dcacheflush, icacheflush): Revise to flush an arbitrary number of
cache lines.

From-SVN: r74888
gcc/ChangeLog
gcc/config/pa/pa.h
gcc/config/pa/pa.md