From: Andy Polyakov Date: Thu, 19 Oct 2006 20:55:05 +0000 (+0000) Subject: Gcc over-optimizes PadLock AES CFB codepath, tell it not to. X-Git-Tag: OpenSSL_0_9_8k^2~1101 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3634d7e97a530ec07b6ebe367c35ebba490c480f;p=oweals%2Fopenssl.git Gcc over-optimizes PadLock AES CFB codepath, tell it not to. --- diff --git a/crypto/engine/eng_padlock.c b/crypto/engine/eng_padlock.c index 8d92af6f8b..e1d66eac58 100644 --- a/crypto/engine/eng_padlock.c +++ b/crypto/engine/eng_padlock.c @@ -436,8 +436,8 @@ static inline void *name(size_t cnt, \ rep_xcrypt "\n" \ " popl %%ebx" \ : "=a"(iv), "=c"(cnt), "=D"(out), "=S"(inp) \ - : "0"(cdata), "1"(cnt), "2"(out), "3"(inp) \ - : "edx", "cc"); \ + : "0"(cdata), "1"(cnt), "2"(out), "3"(inp), "m"(*cdata) \ + : "edx", "cc", "memory"); \ return iv; \ }