Fix another missed pcb_savefpu reference (inside NPX_DEBUG)

This commit is contained in:
peter 2001-07-12 12:21:53 +00:00
parent a5f5f72a7b
commit 7481fc008a
4 changed files with 8 additions and 8 deletions

View File

@ -601,8 +601,8 @@ npxexit(p)
if (npx_exists) {
u_int masked_exceptions;
masked_exceptions = PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_cw
& PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_sw & 0x7f;
masked_exceptions = PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_cw
& PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_sw & 0x7f;
/*
* Log exceptions that would have trapped with the old
* control word (overflow, divide by 0, and invalid operand).

View File

@ -601,8 +601,8 @@ npxexit(p)
if (npx_exists) {
u_int masked_exceptions;
masked_exceptions = PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_cw
& PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_sw & 0x7f;
masked_exceptions = PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_cw
& PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_sw & 0x7f;
/*
* Log exceptions that would have trapped with the old
* control word (overflow, divide by 0, and invalid operand).

View File

@ -601,8 +601,8 @@ npxexit(p)
if (npx_exists) {
u_int masked_exceptions;
masked_exceptions = PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_cw
& PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_sw & 0x7f;
masked_exceptions = PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_cw
& PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_sw & 0x7f;
/*
* Log exceptions that would have trapped with the old
* control word (overflow, divide by 0, and invalid operand).

View File

@ -654,8 +654,8 @@ npxexit(p)
if (npx_exists) {
u_int masked_exceptions;
masked_exceptions = PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_cw
& PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_sw & 0x7f;
masked_exceptions = PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_cw
& PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_sw & 0x7f;
/*
* Log exceptions that would have trapped with the old
* control word (overflow, divide by 0, and invalid operand).