On 8/26/21 6:54 AM, Peter Maydell wrote:
On Sat, 21 Aug 2021 at 21:09, Richard Henderson
<richard.hender...@linaro.org> wrote:
+ /*
+ * From v8, it is CONSTRAINED UNPREDICTABLE whether BXWritePC aligns
+ * the address or not. If so, we can legitimately fall through.
+ */
+ return EXIT_SUCCESS;
+}
Can we get the test harness to run the test on a cortex-a9 guest CPU
so we can avoid the UNPREDICTABLE and can always check the signal
happened ? The test is a bit weak if it doesn't actually test that
we take an exception...
Well, it'll always raise an exception under qemu.
I wrote it this way so that it would also always succeed when run on real hardware. Even
then, I have no specific knowledge of a cpu that does not raise an exception, but I only
tested cortex-a57.
r~