diff options
author | bellard | 2005-03-13 17:55:58 +0100 |
---|---|---|
committer | bellard | 2005-03-13 17:55:58 +0100 |
commit | 20495218834824723ef81306c6e1fd27fc3ae560 (patch) | |
tree | d1113078c7c59ff8a6ab70f92aaf7aa05d2800af /target-arm/nwfpe/single_cpdo.c | |
parent | soft float support (diff) | |
download | qemu-20495218834824723ef81306c6e1fd27fc3ae560.tar.gz qemu-20495218834824723ef81306c6e1fd27fc3ae560.tar.xz qemu-20495218834824723ef81306c6e1fd27fc3ae560.zip |
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/single_cpdo.c')
-rw-r--r-- | target-arm/nwfpe/single_cpdo.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target-arm/nwfpe/single_cpdo.c b/target-arm/nwfpe/single_cpdo.c index 58da89b050..7dd2620f21 100644 --- a/target-arm/nwfpe/single_cpdo.c +++ b/target-arm/nwfpe/single_cpdo.c @@ -76,30 +76,30 @@ unsigned int SingleCPDO(const unsigned int opcode) { /* dyadic opcodes */ case ADF_CODE: - fpa11->fpreg[Fd].fSingle = float32_add(rFn,rFm); + fpa11->fpreg[Fd].fSingle = float32_add(rFn,rFm, &fpa11->fp_status); break; case MUF_CODE: case FML_CODE: - fpa11->fpreg[Fd].fSingle = float32_mul(rFn,rFm); + fpa11->fpreg[Fd].fSingle = float32_mul(rFn,rFm, &fpa11->fp_status); break; case SUF_CODE: - fpa11->fpreg[Fd].fSingle = float32_sub(rFn,rFm); + fpa11->fpreg[Fd].fSingle = float32_sub(rFn,rFm, &fpa11->fp_status); break; case RSF_CODE: - fpa11->fpreg[Fd].fSingle = float32_sub(rFm,rFn); + fpa11->fpreg[Fd].fSingle = float32_sub(rFm,rFn, &fpa11->fp_status); break; case DVF_CODE: case FDV_CODE: - fpa11->fpreg[Fd].fSingle = float32_div(rFn,rFm); + fpa11->fpreg[Fd].fSingle = float32_div(rFn,rFm, &fpa11->fp_status); break; case RDF_CODE: case FRD_CODE: - fpa11->fpreg[Fd].fSingle = float32_div(rFm,rFn); + fpa11->fpreg[Fd].fSingle = float32_div(rFm,rFn, &fpa11->fp_status); break; #if 0 @@ -113,7 +113,7 @@ unsigned int SingleCPDO(const unsigned int opcode) #endif case RMF_CODE: - fpa11->fpreg[Fd].fSingle = float32_rem(rFn,rFm); + fpa11->fpreg[Fd].fSingle = float32_rem(rFn,rFm, &fpa11->fp_status); break; #if 0 @@ -139,11 +139,11 @@ unsigned int SingleCPDO(const unsigned int opcode) case RND_CODE: case URD_CODE: - fpa11->fpreg[Fd].fSingle = float32_round_to_int(rFm); + fpa11->fpreg[Fd].fSingle = float32_round_to_int(rFm, &fpa11->fp_status); break; case SQT_CODE: - fpa11->fpreg[Fd].fSingle = float32_sqrt(rFm); + fpa11->fpreg[Fd].fSingle = float32_sqrt(rFm, &fpa11->fp_status); break; #if 0 |