/[qemu]/qemu/dyngen-exec.h
ViewVC logotype

Diff of /qemu/dyngen-exec.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by bellard, Mon Jan 3 23:44:44 2005 UTC revision 1.19 by bellard, Sun Jan 9 00:39:12 2005 UTC
# Line 209  extern int __op_param1, __op_param2, __o Line 209  extern int __op_param1, __op_param2, __o
209    
210  extern int __op_jmp0, __op_jmp1, __op_jmp2, __op_jmp3;  extern int __op_jmp0, __op_jmp1, __op_jmp2, __op_jmp3;
211    
212    #if defined(_WIN32)
213    #define ASM_NAME(x) "_" #x
214    #else
215    #define ASM_NAME(x) #x
216    #endif
217    
218  #ifdef __i386__  #ifdef __i386__
219  #define EXIT_TB() asm volatile ("ret")  #define EXIT_TB() asm volatile ("ret")
220  #define GOTO_LABEL_PARAM(n) asm volatile ("jmp __op_gen_label" #n)  #define GOTO_LABEL_PARAM(n) asm volatile ("jmp " ASM_NAME(__op_gen_label) #n)
221  #endif  #endif
222  #ifdef __x86_64__  #ifdef __x86_64__
223  #define EXIT_TB() asm volatile ("ret")  #define EXIT_TB() asm volatile ("ret")
224  #endif  #endif
225  #ifdef __powerpc__  #ifdef __powerpc__
226  #define EXIT_TB() asm volatile ("blr")  #define EXIT_TB() asm volatile ("blr")
227  #define GOTO_LABEL_PARAM(n) asm volatile ("b __op_gen_label" #n)  #define GOTO_LABEL_PARAM(n) asm volatile ("b " ASM_NAME(__op_gen_label) #n)
228  #endif  #endif
229  #ifdef __s390__  #ifdef __s390__
230  #define EXIT_TB() asm volatile ("br %r14")  #define EXIT_TB() asm volatile ("br %r14")

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26