tcg-sparc: Add tcg_out_arithc.
authorRichard Henderson <rth@twiddle.net>
Tue, 12 Jan 2010 19:59:29 +0000 (19:59 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 12 Jan 2010 19:59:29 +0000 (19:59 +0000)
commit8dd167de13a227815ab28e6e9ef86a7ea43d22ce
tree9a23d8de2e270b683d319417d22999614dd521b3
parente02b77e6e6701b182660186599a55d19478d0075
tcg-sparc: Add tcg_out_arithc.

Add a function to handle the register-vs-immediate test for arithmetic.

Also, adjust the OP_32_64 macro so that it auto-indents properly.
Rename the gen_arith32 label to gen_arith, since it handles 64-bit
arithmetic as well.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/sparc/tcg-target.c