Peter Maydell 2b67d0ff97 target/arm: Add compile time asserts to load/store_cpu_field macros
Add some compile-time asserts to the load_cpu_field() and store_cpu_field()
macros that the struct field being accessed is the expected size. This
lets us catch cases where we incorrectly tried to do a 32-bit load
from a 64-bit struct field.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230424153909.1419369-3-peter.maydell@linaro.org
2023-05-02 15:47:41 +01:00
..
2023-02-03 12:59:22 +00:00
2022-12-16 15:58:15 +00:00
2023-03-01 07:33:25 -10:00
2023-04-20 10:21:16 +01:00
2022-07-11 13:43:51 +01:00
2020-09-09 09:27:09 -04:00
2023-04-20 10:21:16 +01:00