hppa: Use LDO instead of ADDI for stack-address arithmetic
commitd28579a5f1dafe31642fe21281ea4718af3d529f
authorAlastair Bridgewater <alastair.bridgewater@gmail.com>
Tue, 24 Nov 2015 22:45:34 +0000 (24 17:45 -0500)
committerAlastair Bridgewater <alastair.bridgewater@gmail.com>
Mon, 30 Nov 2015 20:06:41 +0000 (30 15:06 -0500)
tree7a0478932dd8e6ef780e7b7eb2aa8c42793de76c
parent64b053a8952a2d4112fde0edd15b95cab45ee8b2
hppa: Use LDO instead of ADDI for stack-address arithmetic

  * ADDI has a (signed-byte 11) immediate field, while LDO has a
(signed-byte 14) immediate field.  Using LDO instead of ADDI means
that we can have stack frames larger than about 1 kilobyte (which
is a limit that we've already seen some test cases run up against).

  * The new limit is probably around 8KB.  If that's not enough,
then we can start doing things with larger values in temporary
registers.
src/compiler/hppa/call.lisp
src/compiler/hppa/nlx.lisp