diff options
-rw-r--r-- | lib/libkse/arch/i386/i386/thr_getcontext.S | 4 | ||||
-rw-r--r-- | lib/libpthread/arch/i386/i386/thr_getcontext.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkse/arch/i386/i386/thr_getcontext.S b/lib/libkse/arch/i386/i386/thr_getcontext.S index 7f58dce..c3d6a78 100644 --- a/lib/libkse/arch/i386/i386/thr_getcontext.S +++ b/lib/libkse/arch/i386/i386/thr_getcontext.S @@ -88,9 +88,9 @@ ENTRY(__thr_setcontext) cmpl $MC_OWNEDFP_PCB, MC_OWNEDFP_OFFSET(%edx) jne 5f 3: cmpl $MC_FPFMT_387, MC_FPFMT_OFFSET(%edx) - jne 5f + jne 4f frstor MC_FPREGS_OFFSET(%edx) /* restore 387 FP regs */ - jmp 5f + jmp 6f 4: cmpl $MC_FPFMT_XMM, MC_FPFMT_OFFSET(%edx) jne 5f fxrstor MC_FPREGS_OFFSET(%edx) /* restore XMM FP regs */ diff --git a/lib/libpthread/arch/i386/i386/thr_getcontext.S b/lib/libpthread/arch/i386/i386/thr_getcontext.S index 7f58dce..c3d6a78 100644 --- a/lib/libpthread/arch/i386/i386/thr_getcontext.S +++ b/lib/libpthread/arch/i386/i386/thr_getcontext.S @@ -88,9 +88,9 @@ ENTRY(__thr_setcontext) cmpl $MC_OWNEDFP_PCB, MC_OWNEDFP_OFFSET(%edx) jne 5f 3: cmpl $MC_FPFMT_387, MC_FPFMT_OFFSET(%edx) - jne 5f + jne 4f frstor MC_FPREGS_OFFSET(%edx) /* restore 387 FP regs */ - jmp 5f + jmp 6f 4: cmpl $MC_FPFMT_XMM, MC_FPFMT_OFFSET(%edx) jne 5f fxrstor MC_FPREGS_OFFSET(%edx) /* restore XMM FP regs */ |