compiler/arm/insts: Fix COMPUTE-LRA to allow backwards labels.
commit2044d6bc5606a9a41f3e7c327e14f20a0acc39f0
authorAlastair Bridgewater <nyef@kana.lisphacker.com>
Tue, 7 Jan 2014 00:31:56 +0000 (6 19:31 -0500)
committerAlastair Bridgewater <nyef@kana.lisphacker.com>
Sat, 10 May 2014 19:12:14 +0000 (10 15:12 -0400)
tree869cfbfd84f1c6059924a808536bf2f3f0ba5d2a
parent57d1773034c08bed2398d740813b338c5b4918dc
compiler/arm/insts: Fix COMPUTE-LRA to allow backwards labels.

  * COMPUTE-LRA can, under some circumstances, be passed a label
that exists earlier in the instruction stream, rather than the
more usual later in the instruction stream.  In such cases, we
need to use SUB instead of ADD, because ADD doesn't allow negative
immediate values.
src/compiler/arm/insts.lisp