tcg-hppa: Fix in/out register overlap in add2/sub2.
commit91493631feb2d988bcfe9f837ffc1e04823d02cd
authorRichard Henderson <rth@twiddle.net>
Wed, 7 Apr 2010 14:46:33 +0000 (7 16:46 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 8 Apr 2010 09:57:14 +0000 (8 11:57 +0200)
tree8b83073fe1ceccfe078fe236b81f852475278668
parentfd76e73a102c8b6505a0f9ebfbb32751b5475118
tcg-hppa: Fix in/out register overlap in add2/sub2.

Handle the output log part overlapping the input high parts.
Also, improve sub2 to handle some constants the second input low part.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/hppa/tcg-target.c
tcg/hppa/tcg-target.h