reordering.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3864
This commit is contained in:
parent
01a09d7086
commit
9cbce79ce3
1 changed files with 6 additions and 5 deletions
|
@ -41,6 +41,12 @@ static void FPU_FNOP(void){
|
|||
return;
|
||||
}
|
||||
|
||||
static void FPU_PREP_PUSH(void){
|
||||
TOP = (TOP - 1) &7;
|
||||
if (GCC_UNLIKELY(fpu.tags[TOP] != TAG_Empty)) E_Exit("FPU stack overflow");
|
||||
fpu.tags[TOP] = TAG_Valid;
|
||||
}
|
||||
|
||||
static void FPU_PUSH(double in){
|
||||
FPU_PREP_PUSH();
|
||||
fpu.regs[TOP].d = in;
|
||||
|
@ -48,11 +54,6 @@ static void FPU_PUSH(double in){
|
|||
return;
|
||||
}
|
||||
|
||||
static void FPU_PREP_PUSH(void){
|
||||
TOP = (TOP - 1) &7;
|
||||
if (GCC_UNLIKELY(fpu.tags[TOP] != TAG_Empty)) E_Exit("FPU stack overflow");
|
||||
fpu.tags[TOP] = TAG_Valid;
|
||||
}
|
||||
|
||||
static void FPU_FPOP(void){
|
||||
if (GCC_UNLIKELY(fpu.tags[TOP] == TAG_Empty)) E_Exit("FPU stack underflow");
|
||||
|
|
Loading…
Add table
Reference in a new issue