diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-03-13 16:55:58 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-03-13 16:55:58 +0000 |
commit | 20495218834824723ef81306c6e1fd27fc3ae560 (patch) | |
tree | d1113078c7c59ff8a6ab70f92aaf7aa05d2800af /target-arm/nwfpe/fpa11_cpdo.c | |
parent | 158142c2c2df728cfa3b5320c65534921a764f26 (diff) | |
download | qemu-20495218834824723ef81306c6e1fd27fc3ae560.zip qemu-20495218834824723ef81306c6e1fd27fc3ae560.tar.gz qemu-20495218834824723ef81306c6e1fd27fc3ae560.tar.bz2 |
use the generic soft float code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1333 c046a42c-6fe2-441c-8c8c-71466251a162
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 343a6b9..cc8aa87 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; } |