Re: [cfe-users] Integrated assembler, -arch i386 and ILP32

2015-11-30 Thread Jeffrey Walton via cfe-users
> BOOL_X32 is set when __ILP32__ is defined. BOOL_X86 is defined when > __i386__ (and friends) is defined. BOOL_X64 is defined when __x86_64__ > (and friends) is defined. We set the conditions based on " System V > Application Binary Interface, AMD64 (With LP64 and ILP32 Programming > Models)", htt

[cfe-users] Integrated assembler, -arch i386 and ILP32

2015-11-30 Thread Jeffrey Walton via cfe-users
Hi Everyone, We took a bug report on some line assembly code (https://github.com/weidai11/cryptopp/issues/72). I have two questions at the end on Clang, Apple and ILP32. The code performs the following: asm volatile ( // save ebx in case -fPIC is being used