Gilles Peskine d337fbc4cb 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:51:43 +02:00
..
2021-08-19 09:56:47 +01:00
2021-03-10 12:52:37 +00:00
2021-06-28 09:24:07 +01:00
2021-08-19 09:55:41 +01:00
2021-08-19 09:57:42 +01:00
2021-06-17 21:46:29 +02:00
2021-08-19 09:31:55 +01:00
2021-06-25 12:46:40 +01:00
2021-08-19 09:31:55 +01:00
2021-06-08 16:45:41 +02:00
2021-08-19 09:31:55 +01:00
2021-06-28 09:24:07 +01:00
2021-06-16 10:34:25 +02:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-04-07 12:45:35 +01:00
2021-08-19 09:31:55 +01:00
2021-06-16 10:34:25 +02:00
2021-03-10 12:52:37 +00:00
2021-06-28 09:24:07 +01:00
2021-06-08 16:45:41 +02:00
2021-04-15 11:19:47 +01:00
2021-09-13 12:21:22 +02:00
2021-09-08 22:04:13 +05:30
2020-11-25 13:10:50 +01:00
2021-09-10 07:16:08 +05:30
2021-08-19 09:31:55 +01:00
2021-07-08 12:46:26 +01:00
2021-08-19 09:31:55 +01:00
2021-08-19 09:31:55 +01:00
2021-08-19 09:56:47 +01:00
2021-08-20 16:20:44 +01:00
2021-09-03 21:52:26 +08:00
2021-08-20 16:20:44 +01:00
2021-09-07 17:26:06 +08:00
2021-09-04 10:00:02 +08:00
2021-06-28 09:28:33 +01:00