diff options
author | lloyd <[email protected]> | 2009-11-06 14:04:16 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-06 14:04:16 +0000 |
commit | a495493c4ea42a68290df75e4a24562c6ec19a06 (patch) | |
tree | 10ff3fcbdc4d753ec422a0b02f63c704e7e1ee86 /configure.py | |
parent | f3c92264410c709e2a3ebf88ea3a67badf298c1c (diff) |
Tick to 1.9.3-dev
Rename BOTAN_UNALIGNED_LOADSTOR_OK to BOTAN_UNALIGNED_MEMORY_ACCESS_OK
which is somewhat more clear as to the point.
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.py b/configure.py index a0f9ec9d6..f07c0a087 100755 --- a/configure.py +++ b/configure.py @@ -37,9 +37,9 @@ class BuildConfigurationInformation(object): """ version_major = 1 version_minor = 9 - version_patch = 2 - version_so_patch = 2 - version_suffix = '' + version_patch = 3 + version_so_patch = 3 + version_suffix = '-dev' version_string = '%d.%d.%d%s' % ( version_major, version_minor, version_patch, version_suffix) @@ -450,7 +450,7 @@ class ArchInfo(object): Return the types of SIMD supported by this submodel (if any) """ def simd_in(self, cpu_type): - return self.simd.get(cpu_type, []) + self.simd.get('all', []) + return sorted(self.simd.get(cpu_type, []) + self.simd.get('all', [])) """ Return a list of all submodels for this arch @@ -473,6 +473,9 @@ class ArchInfo(object): macros.append('TARGET_CPU_IS_%s' % ( form_cpu_macro(target_submodel))) + for simd in self.simd_in(target_submodel): + macros.append('TARGET_CPU_HAS_%s' % (simd.upper())) + if with_endian: macros.append('TARGET_CPU_IS_%s_ENDIAN' % (with_endian.upper())) elif self.endian != None: @@ -483,10 +486,7 @@ class ArchInfo(object): if unaligned_ok: logging.info('Assuming unaligned memory access works on this CPU') - macros.append('TARGET_UNALIGNED_LOADSTOR_OK %d' % (unaligned_ok)) - - for simd in self.simd_in(target_submodel): - macros.append('TARGET_CPU_HAS_%s' % (simd.upper())) + macros.append('TARGET_UNALIGNED_MEMORY_ACCESS_OK %d' % (unaligned_ok)) return macros |