On Wed, Jan 26, 2022 at 11:27 PM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 1/25/22 12:29, Warner Losh wrote:
> > +case EXCP_NOCP:
> > +case EXCP_INVSTATE:
> > +/*
> > + * See arm/arm/undefined.c undefinedinstruction();
> > + *
On 1/25/22 12:29, Warner Losh wrote:
+case EXCP_NOCP:
+case EXCP_INVSTATE:
+/*
+ * See arm/arm/undefined.c undefinedinstruction();
+ *
+ * A number of details aren't emulated (they likely don't matter):
+ * o Misaligned P
Use force_sig_fault to implement unknown opcode. This just uninlines
that function, so simplify things by using it. Fold in EXCP_NOCP and
EXCP_INVSTATE, as is done in linux-user. Make a note about slight
differences with FreeBSD in case any of them turn out to be important
later.
Signed-off-by: Wa