summaryrefslogtreecommitdiff
path: root/target-alpha/helper.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-08-05 11:04:11 -0700
committerRichard Henderson <rth@twiddle.net>2015-08-18 09:11:12 -0700
commit112e4518f0d38fc3c52e55c7d7e77b66a295ec2b (patch)
treefc55cbf2eebfa7d52d0702222ee0cbac570f3af1 /target-alpha/helper.h
parent5f2a80adc6fd2b2e4e0579a6613a9913e3cc9a05 (diff)
downloadqemu-112e4518f0d38fc3c52e55c7d7e77b66a295ec2b.tar.gz
target-alpha: Special case cmpbge with zero
Knowing the comparator is zero leads to a simpler operation. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/helper.h')
-rw-r--r--target-alpha/helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-alpha/helper.h b/target-alpha/helper.h
index d221f0d7d6..83cbe2abda 100644
--- a/target-alpha/helper.h
+++ b/target-alpha/helper.h
@@ -10,6 +10,7 @@ DEF_HELPER_FLAGS_1(cttz, TCG_CALL_NO_RWG_SE, i64, i64)
DEF_HELPER_FLAGS_2(zap, TCG_CALL_NO_RWG_SE, i64, i64, i64)
DEF_HELPER_FLAGS_2(zapnot, TCG_CALL_NO_RWG_SE, i64, i64, i64)
+DEF_HELPER_FLAGS_1(cmpbe0, TCG_CALL_NO_RWG_SE, i64, i64)
DEF_HELPER_FLAGS_2(cmpbge, TCG_CALL_NO_RWG_SE, i64, i64, i64)
DEF_HELPER_FLAGS_2(minub8, TCG_CALL_NO_RWG_SE, i64, i64, i64)