summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/opth-gen.awk
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2013-09-03 17:33:29 +0000
committerjmg <jmg@FreeBSD.org>2013-09-03 17:33:29 +0000
commite10c4e2adb9090fc2fe5c150e4c8dcd7b5e360ac (patch)
tree3f50e4666b3a9fe46114ce8214d5e64766419e43 /contrib/gcc/opth-gen.awk
parent4f53813f88df44c7bf7c7c5d15d2fd3bada36ab7 (diff)
downloadFreeBSD-src-e10c4e2adb9090fc2fe5c150e4c8dcd7b5e360ac.zip
FreeBSD-src-e10c4e2adb9090fc2fe5c150e4c8dcd7b5e360ac.tar.gz
add support to gcc for AES and PCLMUL intrinsics... This addes the
-maes option, but not the -mpclmul option as I ran out of bits in the 32 bit flags field... You can -D__PCLMUL__ to get this, but it won't be compatible w/ clang and modern gcc... Reviewed by: -current, -toolchain
Diffstat (limited to 'contrib/gcc/opth-gen.awk')
-rw-r--r--contrib/gcc/opth-gen.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/opth-gen.awk b/contrib/gcc/opth-gen.awk
index e7ffc1a..84b3170 100644
--- a/contrib/gcc/opth-gen.awk
+++ b/contrib/gcc/opth-gen.awk
@@ -87,7 +87,7 @@ for (i = 0; i < n_extra_masks; i++) {
}
for (var in masknum) {
- if (masknum[var] > 31) {
+ if (masknum[var] > 32) {
if (var == "")
print "#error too many target masks"
else
OpenPOWER on IntegriCloud