]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Don't enable SSE2 on X86-64.
authorSebastian Hahn <sebastian@torproject.org>
Wed, 16 Sep 2015 02:27:32 +0000 (04:27 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Wed, 16 Sep 2015 12:08:38 +0000 (14:08 +0200)
This removes a comment presumably introduced for debugging that was left
in accidentally. Bug not in any released version of Tor. Fixes bug
17092.

src/ext/ed25519/donna/ed25519-donna-portable.h

index 9c9c55577cb81d7049dfd374805cc8e2d454efd0..75a53a570fcde39076201ab6fe105b85ce1f41c0 100644 (file)
@@ -148,7 +148,7 @@ static inline void U64TO8_LE(unsigned char *p, const uint64_t v) {
  * architecture supports it.  This is not done on x86-64 as the non-SSE2
  * code benchmarks better, at least on Haswell.
  */
-#if defined(__SSE2__) /* && !defined(CPU_X86_64) */
+#if defined(__SSE2__) && !defined(CPU_X86_64)
        /* undef in case it's manually specified... */
        #undef ED25519_SSE2
        #define ED25519_SSE2