Gilles Peskine
7c847235e8
x86_64 MULADDC assembly: add missing constraints about memory
...
MULADDC_CORE reads from (%%rsi) and writes to (%%rdi). This fragment is
repeated up to 16 times, and %%rsi and %%rdi are s and d on entry
respectively. Hence the complete asm statement reads 16 64-bit words
from memory starting at s, and writes 16 64-bit words starting at d.
Without any declaration of modified memory, Clang 12 and Clang 13 generated
non-working code for mbedtls_mpi_mod_exp. The constraints make the unit
tests pass with Clang 12.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2021-09-15 15:52:30 +02:00
..
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-09-15 15:52:30 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-03 09:40:33 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-05-12 10:39:39 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2020-08-19 16:37:36 +02:00
2020-08-19 16:37:36 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2020-08-19 16:37:36 +02:00
2020-08-19 16:37:36 +02:00
2020-08-25 11:18:11 +02:00
2021-05-12 10:39:39 +02:00
2021-08-16 13:03:24 +02:00
2021-08-02 22:59:16 +02:00
2020-08-19 16:37:36 +02:00
2021-07-05 18:47:36 +02:00
2020-08-19 16:37:36 +02:00
2021-06-07 21:30:15 +02:00
2020-08-19 16:37:36 +02:00
2021-08-02 22:59:16 +02:00
2021-08-02 22:59:16 +02:00