Reintroduce though-to-be unused variable in correct place
The variable is a local variable for the i386 bignum assembly only; introduce it as part of the start/finish macros. It can be noted that the variable is initialize to 0 within MULADDC_INIT, so there are no data dependencies across blocks of MULADDC_INIT/CORE/STOP. Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
5d4ceeb25c
commit
efdc519864
1 changed files with 4 additions and 2 deletions
|
@ -99,6 +99,7 @@
|
|||
#if defined(__i386__) && defined(__OPTIMIZE__)
|
||||
|
||||
#define MULADDC_INIT \
|
||||
{ mbedtls_mpi_uint t; \
|
||||
asm( \
|
||||
"movl %%ebx, %0 \n\t" \
|
||||
"movl %5, %%esi \n\t" \
|
||||
|
@ -190,7 +191,8 @@
|
|||
: "=m" (t), "=m" (c), "=m" (d), "=m" (s) \
|
||||
: "m" (t), "m" (s), "m" (d), "m" (c), "m" (b) \
|
||||
: "eax", "ebx", "ecx", "edx", "esi", "edi" \
|
||||
);
|
||||
); } \
|
||||
|
||||
|
||||
#else
|
||||
|
||||
|
@ -202,7 +204,7 @@
|
|||
: "=m" (t), "=m" (c), "=m" (d), "=m" (s) \
|
||||
: "m" (t), "m" (s), "m" (d), "m" (c), "m" (b) \
|
||||
: "eax", "ebx", "ecx", "edx", "esi", "edi" \
|
||||
);
|
||||
); }
|
||||
#endif /* SSE2 */
|
||||
#endif /* i386 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue