Revision 20495218 target-arm/nwfpe/double_cpdo.c
b/target-arm/nwfpe/double_cpdo.c | ||
---|---|---|
53 | 53 |
switch (fpa11->fType[Fm]) |
54 | 54 |
{ |
55 | 55 |
case typeSingle: |
56 |
rFm = float32_to_float64(fpa11->fpreg[Fm].fSingle); |
|
56 |
rFm = float32_to_float64(fpa11->fpreg[Fm].fSingle, &fpa11->fp_status);
|
|
57 | 57 |
break; |
58 | 58 |
|
59 | 59 |
case typeDouble: |
... | ... | |
79 | 79 |
switch (fpa11->fType[Fn]) |
80 | 80 |
{ |
81 | 81 |
case typeSingle: |
82 |
rFn = float32_to_float64(fpa11->fpreg[Fn].fSingle); |
|
82 |
rFn = float32_to_float64(fpa11->fpreg[Fn].fSingle, &fpa11->fp_status);
|
|
83 | 83 |
break; |
84 | 84 |
|
85 | 85 |
case typeDouble: |
... | ... | |
96 | 96 |
{ |
97 | 97 |
/* dyadic opcodes */ |
98 | 98 |
case ADF_CODE: |
99 |
fpa11->fpreg[Fd].fDouble = float64_add(rFn,rFm); |
|
99 |
fpa11->fpreg[Fd].fDouble = float64_add(rFn,rFm, &fpa11->fp_status);
|
|
100 | 100 |
break; |
101 | 101 |
|
102 | 102 |
case MUF_CODE: |
103 | 103 |
case FML_CODE: |
104 |
fpa11->fpreg[Fd].fDouble = float64_mul(rFn,rFm); |
|
104 |
fpa11->fpreg[Fd].fDouble = float64_mul(rFn,rFm, &fpa11->fp_status);
|
|
105 | 105 |
break; |
106 | 106 |
|
107 | 107 |
case SUF_CODE: |
108 |
fpa11->fpreg[Fd].fDouble = float64_sub(rFn,rFm); |
|
108 |
fpa11->fpreg[Fd].fDouble = float64_sub(rFn,rFm, &fpa11->fp_status);
|
|
109 | 109 |
break; |
110 | 110 |
|
111 | 111 |
case RSF_CODE: |
112 |
fpa11->fpreg[Fd].fDouble = float64_sub(rFm,rFn); |
|
112 |
fpa11->fpreg[Fd].fDouble = float64_sub(rFm,rFn, &fpa11->fp_status);
|
|
113 | 113 |
break; |
114 | 114 |
|
115 | 115 |
case DVF_CODE: |
116 | 116 |
case FDV_CODE: |
117 |
fpa11->fpreg[Fd].fDouble = float64_div(rFn,rFm); |
|
117 |
fpa11->fpreg[Fd].fDouble = float64_div(rFn,rFm, &fpa11->fp_status);
|
|
118 | 118 |
break; |
119 | 119 |
|
120 | 120 |
case RDF_CODE: |
121 | 121 |
case FRD_CODE: |
122 |
fpa11->fpreg[Fd].fDouble = float64_div(rFm,rFn); |
|
122 |
fpa11->fpreg[Fd].fDouble = float64_div(rFm,rFn, &fpa11->fp_status);
|
|
123 | 123 |
break; |
124 | 124 |
|
125 | 125 |
#if 0 |
... | ... | |
133 | 133 |
#endif |
134 | 134 |
|
135 | 135 |
case RMF_CODE: |
136 |
fpa11->fpreg[Fd].fDouble = float64_rem(rFn,rFm); |
|
136 |
fpa11->fpreg[Fd].fDouble = float64_rem(rFn,rFm, &fpa11->fp_status);
|
|
137 | 137 |
break; |
138 | 138 |
|
139 | 139 |
#if 0 |
... | ... | |
173 | 173 |
|
174 | 174 |
case RND_CODE: |
175 | 175 |
case URD_CODE: |
176 |
fpa11->fpreg[Fd].fDouble = float64_round_to_int(rFm); |
|
176 |
fpa11->fpreg[Fd].fDouble = float64_round_to_int(rFm, &fpa11->fp_status);
|
|
177 | 177 |
break; |
178 | 178 |
|
179 | 179 |
case SQT_CODE: |
180 |
fpa11->fpreg[Fd].fDouble = float64_sqrt(rFm); |
|
180 |
fpa11->fpreg[Fd].fDouble = float64_sqrt(rFm, &fpa11->fp_status);
|
|
181 | 181 |
break; |
182 | 182 |
|
183 | 183 |
#if 0 |
Also available in: Unified diff