* Whether GCC flags output operands are supported.
* If building with GCC 6+ on x86, and 10+ on arm, flags output is supported.
* Some pieces are still built with GCC 4, which doesn't support flag outputs.
- * Also support was added for x86 before ARM / AARCH64.
*/
#ifdef __GCC_ASM_FLAG_OUTPUTS__
-/*
- * The above check should be sufficient to see whether the current compiler
- * supports GCC style assembly flag outputs, but just in case print a debug
- * message if it looks like we're being compiled with an older version of
- * GCC before assembly flag outputs was added.
- */
-#if defined(VM_X86_ANY) && __GNUC__ < 6
- #pragma message "GCC < 6 claims to support x86 asm flag outputs"
-#elif defined(VM_ARM_ANY) && __GNUC__ < 10
- #pragma message "GCC < 10 claims to support ARM asm flag outputs"
-#endif
-
#define IF_ASM_FLAG_OUTPUT(supportedValue, fallbackValue) supportedValue
-
#else /* older gcc (or not gcc), flags output is not supported */
#define IF_ASM_FLAG_OUTPUT(supportedValue, fallbackValue) fallbackValue
-
#endif