From 9a93fa54a9af6ebc28fafba20af3d78df43c12c8 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 4 Nov 2009 18:07:24 +0000 Subject: Set BOTAN_TARGET_CPU_HAS_SSE2 macro if amd64. Not set at all for any 32-bit x86 currently. This should be fixed. But it's an improvement over having to always set it manually, at least. --- configure.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.py b/configure.py index 2e0c31fe2..93192abdd 100755 --- a/configure.py +++ b/configure.py @@ -463,6 +463,9 @@ class ArchInfo(object): logging.info('Assuming unaligned memory access works on this CPU') macros.append('TARGET_UNALIGNED_LOADSTOR_OK %d' % (unaligned_ok)) + if self.basename == 'amd64': + macros.append('TARGET_CPU_HAS_SSE2') + return macros class CompilerInfo(object): -- cgit v1.2.3