commit | 4b5a85c175768faf302cf8349d8613dbc1ac5f54 | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Tue Feb 16 13:55:15 2010 -0800 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Feb 20 08:31:50 2010 +0000 |
tree | 55609f1b9a533dac95824d37d5d19565299548a1 | |
parent | 4fc8d6711aff7a9c11e402c3d77b481609f9f486 [diff] |
tcg-sparc: Implement neg. The fallback implementation of "ret = 0 - arg1" isn't ideal, first because of the extra tcg op to load the zero, and second because we fail to handle zero as %g0 for arg1 of the sub. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>