public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] aarch64: Add missing ACLE macro for NEON-SVE Bridge
@ 2024-05-31 10:37 Richard Ball
  2024-06-06 12:20 ` Richard Sandiford
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Ball @ 2024-05-31 10:37 UTC (permalink / raw)
  To: gcc-patches, Richard Sandiford, Richard Earnshaw

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

__ARM_NEON_SVE_BRIDGE was missed in the original patch and is
added by this patch.

Ok for trunk and a backport into gcc-14?

gcc/ChangeLog:

	* config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins):
	Add missing __ARM_NEON_SVE_BRIDGE.

[-- Attachment #2: NEON-SVE_ACLE.patch --]
[-- Type: text/plain, Size: 764 bytes --]

diff --git a/gcc/config/aarch64/aarch64-c.cc b/gcc/config/aarch64/aarch64-c.cc
index fe1a20e4e546a68e5f7eddff3bbb0d3e831fbd9b..1121be118cf8d05e3736ad4ee75568ff7cb92bfd 100644
--- a/gcc/config/aarch64/aarch64-c.cc
+++ b/gcc/config/aarch64/aarch64-c.cc
@@ -260,6 +260,7 @@ aarch64_update_cpp_builtins (cpp_reader *pfile)
   aarch64_def_or_undef (TARGET_SME_I16I64, "__ARM_FEATURE_SME_I16I64", pfile);
   aarch64_def_or_undef (TARGET_SME_F64F64, "__ARM_FEATURE_SME_F64F64", pfile);
   aarch64_def_or_undef (TARGET_SME2, "__ARM_FEATURE_SME2", pfile);
+  aarch64_def_or_undef (TARGET_SVE, "__ARM_NEON_SVE_BRIDGE", pfile);
 
   /* Not for ACLE, but required to keep "float.h" correct if we switch
      target between implementations that do or do not support ARMv8.2-A

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-06 15:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-31 10:37 [PATCH] aarch64: Add missing ACLE macro for NEON-SVE Bridge Richard Ball
2024-06-06 12:20 ` Richard Sandiford
2024-06-06 15:20   ` [PATCH V2] " Richard Ball
2024-06-06 15:25     ` Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).