]> Git Repo - qemu.git/blobdiff - dyngen-exec.h
Fiddly dyngen bits for s390 host support, by Ulrich Hecht.
[qemu.git] / dyngen-exec.h
index 9f5fcc6ce52149e404fe1c84b0abd7506b054b82..75d27ce169e640a00e9139795f402055b8e461bf 100644 (file)
@@ -254,7 +254,7 @@ extern int __op_jmp0, __op_jmp1, __op_jmp2, __op_jmp3;
 #define GOTO_LABEL_PARAM(n) asm volatile ("b " ASM_NAME(__op_gen_label) #n)
 #elif defined(__s390__)
 #define EXIT_TB() asm volatile ("br %r14")
-#define GOTO_LABEL_PARAM(n) asm volatile ("b " ASM_NAME(__op_gen_label) #n)
+#define GOTO_LABEL_PARAM(n) asm volatile ("bras %r7,8; .long " ASM_NAME(__op_gen_label) #n "; l %r7, 0(%r7); br %r7")
 #elif defined(__alpha__)
 #define EXIT_TB() asm volatile ("ret")
 #elif defined(__ia64__)
This page took 0.021368 seconds and 4 git commands to generate.