OSDN Git Service

target-arm: Handle always condition codes within arm_test_cc
authorRichard Henderson <rth@twiddle.net>
Mon, 14 Sep 2015 13:39:47 +0000 (14:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 14 Sep 2015 13:39:47 +0000 (14:39 +0100)
commit9305eac09e61d857c9cc11e20db754dfc25a82db
tree043042dca1b456bf88354dd8e4cf4bf61fd82bbc
parent6c2c63d3a02c79e9035ca0370cc549d0f938a4dd
target-arm: Handle always condition codes within arm_test_cc

Handling this with TCG_COND_ALWAYS will allow these unlikely
cases to be handled without special cases in the rest of the
translator.  The TCG optimizer ought to be able to reduce
these ALWAYS conditions completely.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-id: 1441909103-24666-4-git-send-email-rth@twiddle.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate.c