search for: llvm_ppc32

Displaying 5 results from an estimated 5 matches for "llvm_ppc32".

2013 Jul 27
1
[LLVMdev] arch-specific predefines in LLVM's source
...g simpler macros >>>> like >>>> >>>> #define LLVM_PPC (defined(__ppc__) || defined(__powerpc__) ...) >>>> #define LLVM_PPC64 (defined(__ppc64__) || defined(__powerpc64__) >>>> ...) >> or define more clearly: >> >> #define LLVM_PPC32 (((defined(__ppc__) || defined(__powerpc__)) && >> !LLVM_PPC64) >> #define LLVM_PPC_ANY (LLVM_PPC32 || LLVM_PPC64) >> >> or >> >> #define LLVM_PPC_ANY (defined(__ppc__) || defined(__powerpc__)) >> #define LLVM_PPC32 (LLVM_PPC_ANY && !LLVM_PP...
2013 Jul 26
2
[LLVMdev] arch-specific predefines in LLVM's source
...also defined on the 64-bit systems, I really think that you'll need to arrange these as: > > #define LLVM_PPC64 (defined(__ppc64__) || defined(__powerpc64__) ...) > #define LLVM_PPC !LLVM_PPC64 && (defined(__ppc__) || defined(__powerpc__) ...) or define more clearly: #define LLVM_PPC32 (((defined(__ppc__) || defined(__powerpc__)) && !LLVM_PPC64) #define LLVM_PPC_ANY (LLVM_PPC32 || LLVM_PPC64) or #define LLVM_PPC_ANY (defined(__ppc__) || defined(__powerpc__)) #define LLVM_PPC32 (LLVM_PPC_ANY && !LLVM_PPC64) ? >> I've even seen __POWERPC__, _POWER, _AR...
2013 Jul 27
0
[LLVMdev] arch-specific predefines in LLVM's source
...t you'll need to arrange these as: > > > > #define LLVM_PPC64 (defined(__ppc64__) || defined(__powerpc64__) > > ...) > > #define LLVM_PPC !LLVM_PPC64 && (defined(__ppc__) || > > defined(__powerpc__) ...) > > or define more clearly: > > #define LLVM_PPC32 (((defined(__ppc__) || defined(__powerpc__)) && > !LLVM_PPC64) > #define LLVM_PPC_ANY (LLVM_PPC32 || LLVM_PPC64) > > or > > #define LLVM_PPC_ANY (defined(__ppc__) || defined(__powerpc__)) > #define LLVM_PPC32 (LLVM_PPC_ANY && !LLVM_PPC64) I thought that you h...
2013 Jul 26
0
[LLVMdev] arch-specific predefines in LLVM's source
----- Original Message ----- > Hi all, > My recent commit r187027 fixed a simple oversight of forgetting to > check for __ppc__ (only checking __powerpc__), which broke my > powerpc-apple-darwin8 stage1 tests, since the system gcc only > provided > __ppc__. I was wondering if this justifies using simpler macros like > > #define LLVM_PPC (defined(__ppc__) ||
2013 Jul 25
2
[LLVMdev] arch-specific predefines in LLVM's source
Hi all, My recent commit r187027 fixed a simple oversight of forgetting to check for __ppc__ (only checking __powerpc__), which broke my powerpc-apple-darwin8 stage1 tests, since the system gcc only provided __ppc__. I was wondering if this justifies using simpler macros like #define LLVM_PPC (defined(__ppc__) || defined(__powerpc__) ...) #define LLVM_PPC64 (defined(__ppc64__) ||