Displaying 1 result from an estimated 1 matches for "__gnuclike_asm".
2008 May 22
1
[LLVMdev] [PATCH] fix for FreeBSD/powerpc build breakage
...f the
preprocessor defines are used on Darwin and/or Linux. FreeBSD
has all of the following:
#define __ppc__ 1
#define __PPC__ 1
#define _ARCH_PPC 1
#define __PowerPC__ 1
#define __powerpc__ 1
A related define that could also be used to select the right
inline assembly statement is:
#define __GNUCLIKE_ASM 3
In any case, register naming in inline assembly on FreeBSD is
the same as the Linux version, so maybe the condition can be
simplified and based on the OS?
FYI,
--
Marcel Moolenaar
xcllnt at mac.com