diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-18 09:24:25 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-18 09:24:25 +0000 |
commit | 01ff9cc8fed03f0425d921ea8712614b6b8e692c (patch) | |
tree | 65a1b59b7bb537d86d211424e79979bb141e88b7 /target-alpha/op.c | |
parent | adf3c8b6e9287810d20edea22e2aaa8bea0b79a9 (diff) |
target-alpha: convert cmp* instructions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5249 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-alpha/op.c')
-rw-r--r-- | target-alpha/op.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/target-alpha/op.c b/target-alpha/op.c index 51a60c9138..68812a0e56 100644 --- a/target-alpha/op.c +++ b/target-alpha/op.c @@ -208,51 +208,6 @@ void OPPROTO op_umulh (void) } /* Tests */ -void OPPROTO op_cmpult (void) -{ - if (T0 < T1) - T0 = 1; - else - T0 = 0; - RETURN(); -} - -void OPPROTO op_cmpule (void) -{ - if (T0 <= T1) - T0 = 1; - else - T0 = 0; - RETURN(); -} - -void OPPROTO op_cmpeq (void) -{ - if (T0 == T1) - T0 = 1; - else - T0 = 0; - RETURN(); -} - -void OPPROTO op_cmplt (void) -{ - if ((int64_t)T0 < (int64_t)T1) - T0 = 1; - else - T0 = 0; - RETURN(); -} - -void OPPROTO op_cmple (void) -{ - if ((int64_t)T0 <= (int64_t)T1) - T0 = 1; - else - T0 = 0; - RETURN(); -} - void OPPROTO op_cmpbge (void) { helper_cmpbge(); |