On Tue, Apr 30, 2019 at 10:50:46AM +0100, Richard Earnshaw (lists) wrote: > > * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Define > > __ARM_FEATURE_ATOMICS > > > > atomics.txt > > > > diff --git a/gcc/config/aarch64/aarch64-c.c b/gcc/config/aarch64/aarch64-c.c > > index fcb1e80177d..6d5acb02fc6 100644 > > --- a/gcc/config/aarch64/aarch64-c.c > > +++ b/gcc/config/aarch64/aarch64-c.c > > @@ -147,6 +147,7 @@ aarch64_update_cpp_builtins (cpp_reader *pfile) > > builtin_define_with_int_value ("__ARM_FEATURE_SVE_BITS", bits); > > } > > > > + aarch64_def_or_undef (TARGET_LSE, "__ARM_FEATURE_ATOMICS", pfile); > > aarch64_def_or_undef (TARGET_AES, "__ARM_FEATURE_AES", pfile); > > aarch64_def_or_undef (TARGET_SHA2, "__ARM_FEATURE_SHA2", pfile); > > aarch64_def_or_undef (TARGET_SHA3, "__ARM_FEATURE_SHA3", pfile); > > > > > This is OK for trunk, 7 and 8. For 9, I think you'll need to wait for > 9.2 now, unless Jakub is feeling generous...
Ok if you can commit it in the next hour at most, want to do a rc2 then and afterwards would hope no changes till release. Jakub