aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-12-12 09:10:34 -0500
committerJack Lloyd <[email protected]>2019-12-12 09:10:34 -0500
commit8f684a6f533feb54f888639f48c1ac6637a87950 (patch)
treeeec8d73e1d6381a31fa72979fae76f4cfa72652e /configure.py
parent1b65377689d8522dfd80a34506594414b7d6ab61 (diff)
Clean up handling of POWER ISA extensions
See #2226
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.py b/configure.py
index 028417a4b..3be4f4d78 100755
--- a/configure.py
+++ b/configure.py
@@ -343,15 +343,15 @@ def process_command_line(args): # pylint: disable=too-many-locals,too-many-state
isa_extensions = [
'SSE2', 'SSSE3', 'SSE4.1', 'SSE4.2', 'AVX2', 'BMI2', 'RDRAND', 'RDSEED',
'AES-NI', 'SHA-NI',
- 'AltiVec', 'NEON', 'ARMv8Crypto']
+ 'AltiVec', 'NEON', 'ARMv8 Crypto', 'POWER Crypto']
for isa_extn_name in isa_extensions:
- isa_extn = isa_extn_name.lower()
+ isa_extn = isa_extn_name.lower().replace(' ', '')
target_group.add_option('--disable-%s' % (isa_extn),
help='disable %s intrinsics' % (isa_extn_name),
action='append_const',
- const=isa_extn.replace('-', '').replace('.', ''),
+ const=isa_extn.replace('-', '').replace('.', '').replace(' ', ''),
dest='disable_intrinsics')
build_group = optparse.OptionGroup(parser, 'Build options')