|
|
@ -64,7 +64,7 @@ |
|
|
|
#endif |
|
|
|
// Globalize a label defined in the same translation unit. |
|
|
|
// See macro ASM_GLOBALIZE_LABEL in the gcc sources. |
|
|
|
#if defined(__i386__) || defined(__m68k__) || defined(__mips__) || defined(__mips64__) || defined(__alpha__) || defined(__rs6000__) || defined(__s390__) |
|
|
|
#if defined(__i386__) || defined(__m68k__) || defined(__mips__) || defined(__mips64__) || defined(__alpha__) || defined(__rs6000__) || defined(__x86_64__) || defined(__s390__) |
|
|
|
// Some m68k systems use "xdef" or "global" or ".global"... |
|
|
|
#define CL_GLOBALIZE_LABEL(label) __asm__("\t.globl " label); |
|
|
|
#endif |
|
|
@ -117,7 +117,7 @@ |
|
|
|
// except that the latter inhibits inlining of the function containing it |
|
|
|
// in gcc-2.95. For new CPUs, look for "jump" and "indirect_jump" in gcc's |
|
|
|
// machine description. |
|
|
|
#if defined(__i386__) |
|
|
|
#if defined(__i386__) || defined(__x86_64__) |
|
|
|
#define CL_JUMP_TO(addr) ASM_VOLATILE("jmp %*%0" : : "rm" ((void*)(addr))) |
|
|
|
#endif |
|
|
|
#if defined(__m68k__) |
|
|
|