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