* [Qemu-devel] S/390 Host support status
@ 2007-11-05 14:02 Thiemo Seufer
0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2007-11-05 14:02 UTC (permalink / raw)
To: uli; +Cc: qemu-devel
This is the remaining bit of s390 host support code from your earlier
patch. Could you check if this bit is still needed?
Also, if it does something useful, I suspect that it is incomplete.
gen_setcc duplicates the same logic, wouldn't it need to stay in sync?
Thiemo
--- qemu/target-i386/translate.c 2007-06-26 08:35:18.000000000 +0000
+++ qemu-s390/target-i386/translate.c 2007-07-30 13:57:39.000000000 +0000
@@ -1795,7 +1795,11 @@
case CC_OP_SUBW:
case CC_OP_SUBL:
case CC_OP_SUBQ:
+#ifdef __s390__
+ func = NULL; /* does not work on S/390 for unknown reasons */
+#else
func = gen_jcc_sub[s->cc_op - CC_OP_SUBB][jcc_op];
+#endif
break;
/* some jumps are easy to compute */
@@ -1843,7 +1847,11 @@
func = gen_jcc_sub[(s->cc_op - CC_OP_ADDB) % 4][jcc_op];
break;
case JCC_S:
+#ifdef __s390__
+ func = NULL;
+#else
func = gen_jcc_sub[(s->cc_op - CC_OP_ADDB) % 4][jcc_op];
+#endif
break;
default:
func = NULL;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-05 14:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 14:02 [Qemu-devel] S/390 Host support status Thiemo Seufer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.