Il 23/08/24 11:50, Sergey Bugaev ha scritto:
On Wed, Aug 21, 2024 at 7:37 PM Luca Dariz wrote:
+#include
+
+static void printx(struct i386_xfloat_state *state, int size)
+{
+ printf("xfloat init %d fp %d exc %d\n",
+ state->initialized, state->fpkind, state->exc_status);
+ struct i38
Sergey Bugaev, le ven. 23 août 2024 12:50:32 +0300, a ecrit:
> On Wed, Aug 21, 2024 at 7:37 PM Luca Dariz wrote:
> > +#include
> > +
> > +static void printx(struct i386_xfloat_state *state, int size)
> > +{
> > + printf("xfloat init %d fp %d exc %d\n",
> > + state->initialized, state->fp
On Wed, Aug 21, 2024 at 7:37 PM Luca Dariz wrote:
> +#include
> +
> +static void printx(struct i386_xfloat_state *state, int size)
> +{
> + printf("xfloat init %d fp %d exc %d\n",
> + state->initialized, state->fpkind, state->exc_status);
> + struct i386_xfp_save *xfp = (struct i386_xfp
Luca Dariz, le mer. 21 août 2024 18:36:15 +0200, a ecrit:
> +static void printx(struct i386_xfloat_state *state, int size)
> +{
> + printf("xfloat init %d fp %d exc %d\n",
> + state->initialized, state->fpkind, state->exc_status);
> + struct i386_xfp_save *xfp = (struct i386_xfp_save *) &
---
tests/include/testlib.h | 1 +
tests/test-thread-state-fp.c | 232 +++
tests/testlib.c | 16 +++
tests/user-qemu.mk | 3 +-
4 files changed, 251 insertions(+), 1 deletion(-)
create mode 100644 tests/test-thread-state-fp.c
diff