diff options
Diffstat (limited to 'target-arm/nwfpe/fpa11_cpdo.c')
-rw-r--r-- | target-arm/nwfpe/fpa11_cpdo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target-arm/nwfpe/fpa11_cpdo.c b/target-arm/nwfpe/fpa11_cpdo.c index 343a6b9fd5..cc8aa87c6e 100644 --- a/target-arm/nwfpe/fpa11_cpdo.c +++ b/target-arm/nwfpe/fpa11_cpdo.c @@ -80,10 +80,10 @@ unsigned int EmulateCPDO(const unsigned int opcode) { if (typeDouble == nType) fpa11->fpreg[Fd].fSingle = - float64_to_float32(fpa11->fpreg[Fd].fDouble); + float64_to_float32(fpa11->fpreg[Fd].fDouble, &fpa11->fp_status); else fpa11->fpreg[Fd].fSingle = - floatx80_to_float32(fpa11->fpreg[Fd].fExtended); + floatx80_to_float32(fpa11->fpreg[Fd].fExtended, &fpa11->fp_status); } break; @@ -91,10 +91,10 @@ unsigned int EmulateCPDO(const unsigned int opcode) { if (typeSingle == nType) fpa11->fpreg[Fd].fDouble = - float32_to_float64(fpa11->fpreg[Fd].fSingle); + float32_to_float64(fpa11->fpreg[Fd].fSingle, &fpa11->fp_status); else fpa11->fpreg[Fd].fDouble = - floatx80_to_float64(fpa11->fpreg[Fd].fExtended); + floatx80_to_float64(fpa11->fpreg[Fd].fExtended, &fpa11->fp_status); } break; @@ -102,10 +102,10 @@ unsigned int EmulateCPDO(const unsigned int opcode) { if (typeSingle == nType) fpa11->fpreg[Fd].fExtended = - float32_to_floatx80(fpa11->fpreg[Fd].fSingle); + float32_to_floatx80(fpa11->fpreg[Fd].fSingle, &fpa11->fp_status); else fpa11->fpreg[Fd].fExtended = - float64_to_floatx80(fpa11->fpreg[Fd].fDouble); + float64_to_floatx80(fpa11->fpreg[Fd].fDouble, &fpa11->fp_status); } break; } |