diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-01-31 09:21:48 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2022-01-31 09:21:48 +0100 |
commit | 23987912ddb4207de0714d81237f93f613557d1f (patch) | |
tree | fddb72bf3c4a7d5cf0881b009eacef9ccc5b3fd0 /gcc | |
parent | 825e5599f356608c3c48f9bcc3febec2d879261e (diff) | |
download | gcc-23987912ddb4207de0714d81237f93f613557d1f.zip gcc-23987912ddb4207de0714d81237f93f613557d1f.tar.gz gcc-23987912ddb4207de0714d81237f93f613557d1f.tar.bz2 |
Use V8+ default in 32-bit mode on SPARC64/Linux
This is what has been done for ages on SPARC/Solaris and makes it possible
to use 64-bit atomic instructions even in 32-bit mode.
gcc/
PR target/104189
* config/sparc/linux64.h (TARGET_DEFAULT): Add MASK_V8PLUS.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sparc/linux64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 46823b6..d08a2ef 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -35,8 +35,8 @@ along with GCC; see the file COPYING3. If not see #if defined(TARGET_64BIT_DEFAULT) && TARGET_CPU_DEFAULT >= TARGET_CPU_v9 #undef TARGET_DEFAULT #define TARGET_DEFAULT \ - (MASK_V9 + MASK_PTR64 + MASK_64BIT + MASK_STACK_BIAS + \ - MASK_APP_REGS + MASK_FPU + MASK_LONG_DOUBLE_128) + (MASK_V9 + MASK_64BIT + MASK_PTR64 + MASK_STACK_BIAS + \ + MASK_V8PLUS + MASK_APP_REGS + MASK_FPU + MASK_LONG_DOUBLE_128) #endif /* This must be v9a not just v9 because by default we enable |