search for: integrated_assembler

Displaying 2 results from an estimated 2 matches for "integrated_assembler".

2014 Feb 24
3
[LLVMdev] RFC: Adding __INTEGRATED_ASSEMLER__ macro
First, I would assume this would be better spelled as: __has_feature(integrated_assembler) But I agree with others that "integrated assembler" isn't a feature which should be observable in source code. On Sun, Feb 23, 2014 at 4:27 PM, Renato Golin <renato.golin at linaro.org>wrote: > On a higher level, there's the quality issue. People should test for >...
2014 Feb 24
3
[LLVMdev] RFC: Adding __INTEGRATED_ASSEMLER__ macro
...detect that an integrated assembler is in use. The flag is intentionally generic so that if another compiler were to implement an integrated assembler, the same flag could be used. The variant could be detected similar to how the compiler is detected (e.g. defined(__clang__) && defined(__INTEGRATED_ASSEMBLER__) would indicate the LLVM IAS). This would allow for also checking the version of the assembler which is currently not possible. Doing would enable using newer features of the assembler over time, while not breaking compatibility will slightly older toolchains. -- Saleem Abdulrasool compnerd (...