aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/gcc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc/gcc.txt')
-rw-r--r--src/build-data/cc/gcc.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index a653fe47e..401e68ddc 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -78,6 +78,23 @@ arm32:neon -> "-mfpu=neon"
arm64:neon -> ""
</isa_flags>
+# Values used in BOTAN_FUNC_ISA eg __attribute__((target("X")))
+# values not set are assumed identical to basename; sse2 -> sse2
+<isa_targets>
+sse41 -> sse4.1
+sse42 -> sse4.2
+
+rdrand -> rdrnd
+
+armv8crypto -> "+crypto"
+armv8sm4 -> "+sm4"
+
+powercrypto -> "crypto"
+
+arm32:neon -> "fpu=neon"
+arm64:neon -> "+simd"
+</isa_targets>
+
# Flags set here are included at compile and link time
<mach_abi_linking>
all!haiku,qnx -> "-pthread"