diff options
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 48 |
1 files changed, 47 insertions, 1 deletions
diff --git a/configure.json b/configure.json index b7f767e2ec..a46a3380fc 100644 --- a/configure.json +++ b/configure.json @@ -311,11 +311,26 @@ "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" }, + "rdrnd": { + "label": "RDRAND instruction", + "type": "compile", + "test": "common/rdrnd" + }, + "shani": { + "label": "SHA new instructions", + "type": "compile", + "test": "common/shani" + }, "avx": { "label": "AVX instructions", "type": "compile", @@ -798,6 +813,7 @@ "condition": "features.avx && tests.avx2", "output": [ "privateConfig", + "privateFeature", { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX2", "value": 1 } ] }, @@ -873,6 +889,30 @@ { "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 } + ] + }, + "rdrnd": { + "label": "RDRAND", + "condition": "tests.rdrnd", + "output": [ + "privateConfig", + { "type": "define", "name": "QT_COMPILER_SUPPORTS_RDRND", "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", @@ -1140,7 +1180,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)" }, { @@ -1150,6 +1190,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 rdrnd shani", + "condition": "(arch.i386 || arch.x86_64)" + }, + { "type": "feature", "args": "neon", "condition": "arch.arm || arch.arm64" |