target-alpha: Implement fp branch/cmov inline.
commitdbb30fe6ef39e4e155d13c633e3bd77db5372abe
authorRichard Henderson <rth@twiddle.net>
Mon, 14 Dec 2009 01:46:17 +0000 (13 17:46 -0800)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 17 Dec 2009 17:12:02 +0000 (17 18:12 +0100)
tree818078ce4a3dc834b1a2b03dce55f47246ebd6e6
parentfe57ca82b09b05ab893ffa8a1a6ace7352970636
target-alpha: Implement fp branch/cmov inline.

The old fcmov implementation had a typo:
-        tcg_gen_mov_i64(cpu_fir[rc], cpu_fir[ra]);
which moved the condition, not the second source, to the destination.

But it's also easy to implement the simplified fp comparison inline.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-alpha/helper.h
target-alpha/op_helper.c
target-alpha/translate.c