]> git.ipfire.org Git - thirdparty/qemu.git/commit - tcg/mips/tcg-target.c
tcg-mips: Simplify setcond
authorRichard Henderson <rth@twiddle.net>
Wed, 16 Apr 2014 05:10:09 +0000 (22:10 -0700)
committerRichard Henderson <rth@twiddle.net>
Sat, 24 May 2014 15:46:39 +0000 (08:46 -0700)
commitfd1cf66630a220991c837e53d9a958cd29444ba1
tree6b1fc956e0c83aedf6dcf1768ee8de5232147eb7
parent4f048535cd11d0950c12d31115c9cbe883cde969
tcg-mips: Simplify setcond

Use a table to fold comparisons to less-than.
Also, move the function up in the file for futher simplifications.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/mips/tcg-target.c