Fix missing operand modifier

Co-authored-by: Yanray Wang <yanray.wang@arm.com>
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-08-22 08:46:18 +01:00 committed by GitHub
parent 0c99a9083e
commit e20d688463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,7 +243,7 @@ static inline mbedtls_ct_condition_t mbedtls_ct_uint_lt(mbedtls_ct_uint_t x, mbe
uint64_t s1; uint64_t s1;
asm volatile ("eor %x[s1], %x[y], %x[x] \n\t" asm volatile ("eor %x[s1], %x[y], %x[x] \n\t"
"sub %x[x], %x[x], %x[y] \n\t" "sub %x[x], %x[x], %x[y] \n\t"
"bic %x[x], %x[x], %[s1] \n\t" "bic %x[x], %x[x], %x[s1] \n\t"
"and %x[s1], %x[s1], %x[y] \n\t" "and %x[s1], %x[s1], %x[y] \n\t"
"orr %x[s1], %x[x], %x[s1] \n\t" "orr %x[s1], %x[x], %x[s1] \n\t"
"asr %x[x], %x[s1], 63" "asr %x[x], %x[s1], 63"