Skip to contentSkip to conversation

[5249] target-alpha: convert cmp* instructions to TCG

Qemu-devel Aurelien Jarno 1 participant 1 message Sep 18, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5249

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5249
Author:   aurel32
Date:     2008-09-18 09:24:25 +0000 (Thu, 18 Sep 2008)

Log Message:
-----------
target-alpha: convert cmp* instructions to TCG

Modified Paths:
--------------
trunk/target-alpha/op.c
trunk/target-alpha/translate.c

Modified: trunk/target-alpha/op.c
===================================================================

target-alpha/op.c +0 -45
@@ -208,51 +208,6 @@
 }
 
 /* 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();

Modified: trunk/target-alpha/translate.c
===================================================================

target-alpha/translate.c +37 -5

78 lines not on this page · raw message