diff options
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/configure.json b/configure.json index 52831f161f..7a118d860e 100644 --- a/configure.json +++ b/configure.json @@ -311,11 +311,21 @@ "type": "compile", "test": "common/sse4_2" }, + "aesni": { + "label": "AES new instructions", + "type": "compile", + "test": "common/aesni" + }, "f16c": { "label": "F16C instructions", "type": "compile", "test": "common/f16c" }, + "shani": { + "label": "SHA new instructions", + "type": "compile", + "test": "common/shani" + }, "avx": { "label": "AVX instructions", "type": "compile", @@ -878,6 +888,22 @@ { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512VBMI", "value": 1 } ] }, + "aesni": { + "label": "AES", + "condition": "features.sse2 && tests.aesni", + "output": [ + "privateConfig", + { "type": "define", "name": "QT_COMPILER_SUPPORTS_AES", "value": 1 } + ] + }, + "shani": { + "label": "SHA", + "condition": "features.sse2 && tests.shani", + "output": [ + "privateConfig", + { "type": "define", "name": "QT_COMPILER_SUPPORTS_SHA", "value": 1 } + ] + }, "mips_dsp": { "label": "DSP", "condition": "arch.mips && tests.mips_dsp", @@ -1150,7 +1176,7 @@ Configure with '-qreal float' to create a build that is binary-compatible with 5 { "message": "AVX", "type": "featureList", - "args": "avx avx2 f16c", + "args": "avx avx2", "condition": "(arch.i386 || arch.x86_64)" }, { @@ -1160,6 +1186,12 @@ Configure with '-qreal float' to create a build that is binary-compatible with 5 "condition": "(arch.i386 || arch.x86_64)" }, { + "message": "Other x86", + "type": "featureList", + "args": "aesni f16c shani", + "condition": "(arch.i386 || arch.x86_64)" + }, + { "type": "feature", "args": "neon", "condition": "arch.arm || arch.arm64" |