From 3634d7e97a530ec07b6ebe367c35ebba490c480f Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 19 Oct 2006 20:55:05 +0000 Subject: [PATCH] Gcc over-optimizes PadLock AES CFB codepath, tell it not to. --- crypto/engine/eng_padlock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; \ } -- 2.25.1