]> git.ipfire.org Git - thirdparty/gcc.git/commit
* pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Nov 2001 00:22:52 +0000 (00:22 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Nov 2001 00:22:52 +0000 (00:22 +0000)
commit93f6e1c74d1e2534f5753fbd6c87106393bcb7ed
tree79a5af00c32d7c55a013dc57aa81ba569b45c19b
parentb7fced5ee35f12941b85adf0a34708513b4a8e63
* pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
constant can be loaded in a single instruction to a register.  When
loading immediate constants, use PLUS instead of HIGH/LO_SUM.  Use
depdi for insertion of most significant 32-bits on 64-bit hosts.
* pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
with ldil/ldo/depdi instruction sequence on 64-bit hosts.
* pa.md: New addmove pattern for adding constant_int to HImode
register and moving result to HImode register.  Remove HImode HIGH
and LO_SUM patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46908 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/config/pa/pa.md