[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH gnumach 2/3] add tests for FLOAT/XFLOAT state
From: |
Samuel Thibault |
Subject: |
Re: [PATCH gnumach 2/3] add tests for FLOAT/XFLOAT state |
Date: |
Thu, 22 Aug 2024 23:43:34 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
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 *) &state->hw_state[0];
> + printf("xfp %d %d %d %d %d %d %d %d\n",
> + xfp->fp_control, xfp->fp_status, xfp->fp_tag, xfp->fp_eip,
> + xfp->fp_cs, xfp->fp_opcode, xfp->fp_dp, xfp->fp_ds);
It seems to me they would be much more usefully printed as hex?
Samuel
[PATCH v2 gnumach 1/3] add xfloat thread state interface, Luca Dariz, 2024/08/21
[PATCH gnumach 3/3] add rpc interrupted test, Luca Dariz, 2024/08/21
Re: [PATCH v2 gnumach 1/3] add xfloat thread state interface, Samuel Thibault, 2024/08/22
Re: [PATCH v2 gnumach 1/3] add xfloat thread state interface, Samuel Thibault, 2024/08/22