aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std/algorithm/internal.d
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2025-01-18 18:58:02 +0100
committerEric Botcazou <ebotcazou@adacore.com>2025-01-18 19:03:47 +0100
commitd309844d6fe02e695eb82cbd30fd135e836f24eb (patch)
tree7ae53dd209e169bba590071d5131f2f906333d18 /libphobos/src/std/algorithm/internal.d
parent729591f1017bf72f924d2bb6ebbad202da95171d (diff)
downloadgcc-d309844d6fe02e695eb82cbd30fd135e836f24eb.zip
gcc-d309844d6fe02e695eb82cbd30fd135e836f24eb.tar.gz
gcc-d309844d6fe02e695eb82cbd30fd135e836f24eb.tar.bz2
Fix bootstrap failure on SPARC with -O3 -mcpu=niagara4
This is a regression present on the mainline only, but the underlying issue has been latent for years: the compiler and the assembler disagree on the support of the VIS 3B SIMD ISA, the former bundling it with VIS 3 but not the latter. IMO the documentation is not very clear, so this patch just aligns the compiler with the assembler. gcc/ PR target/118512 * config/sparc/sparc-c.cc (sparc_target_macros): Deal with VIS 3B. * config/sparc/sparc.cc (dump_target_flag_bits): Likewise. (sparc_option_override): Likewise. (sparc_vis_init_builtins): Likewise. * config/sparc/sparc.md (fpcmp_vis): Replace TARGET_VIS3 with TARGET_VIS3B. (vec_cmp): Likewise. (fpcmpu_vis): Likewise. (vec_cmpu): Likewise. (vcond_mask_): Likewise. * config/sparc/sparc.opt (VIS3B): New target mask. * doc/invoke.texi (SPARC options): Document -mvis3b. gcc/testsuite/ * gcc.target/sparc/20230328-1.c: Pass -mvis3b instead of -mvis3. * gcc.target/sparc/20230328-4.c: Likewise. * gcc.target/sparc/fucmp.c: Likewise. * gcc.target/sparc/vis3misc.c: Likewise.
Diffstat (limited to 'libphobos/src/std/algorithm/internal.d')
0 files changed, 0 insertions, 0 deletions