Skip to content

Commit 19c6e79

Browse files
Frédéric Recoulessjaeckel
authored andcommitted
Add "memory" to clobber list of STORE/LOAD32
c.f. cefff85
1 parent 1937f41 commit 19c6e79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/headers/tomcrypt_macros.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ asm __volatile__ ( \
7474
"bswapl %0 \n\t" \
7575
"movl %0,(%1)\n\t" \
7676
"bswapl %0 \n\t" \
77-
::"r"(x), "r"(y));
77+
::"r"(x), "r"(y): "memory");
7878

7979
#define LOAD32H(x, y) \
8080
asm __volatile__ ( \
8181
"movl (%1),%0\n\t" \
8282
"bswapl %0\n\t" \
83-
:"=r"(x): "r"(y));
83+
:"=r"(x): "r"(y): "memory");
8484

8585
#else
8686

0 commit comments

Comments
 (0)