On 07/28/2017 06:00 AM, Alex Bennée wrote:
uint_fast8_t *old_fpst = softfloat_exceptionFlags;
softfloat_exceptionFlags = (uint_fast8t *) fpstp;
Better, but not best. We still need to collect all of the different variables
that are currently members of float_status, of which this is
Richard Henderson writes:
> On 07/20/2017 05:04 AM, Alex Bennée wrote:
>> +static softfloat_flags softfloat_mapping_table[] = {
>> +{ float_flag_inexact , softfloat_flag_inexact },
>> +{ float_flag_underflow, softfloat_flag_underflow },
>> +{ float_flag_overflow ,
On 2017-07-21 14:58, Peter Maydell wrote:
> On 21 July 2017 at 14:50, Alex Bennée wrote:
> > Aurelien Jarno writes:
> >> As said in another email, some architectures actually use more than one
> >> float_status. We therefore need to implement a
On 21 July 2017 at 14:50, Alex Bennée wrote:
> Aurelien Jarno writes:
>> As said in another email, some architectures actually use more than one
>> float_status. We therefore need to implement a solution like the one
>> proposed by Richard.
>
> Ahh
Aurelien Jarno writes:
> On 2017-07-21 10:56, Alex Bennée wrote:
>>
>> Richard Henderson writes:
>>
>> > On 07/20/2017 05:04 AM, Alex Bennée wrote:
>> >> +static softfloat_flags softfloat_mapping_table[] = {
>> >> +{ float_flag_inexact ,
On 2017-07-21 10:56, Alex Bennée wrote:
>
> Richard Henderson writes:
>
> > On 07/20/2017 05:04 AM, Alex Bennée wrote:
> >> +static softfloat_flags softfloat_mapping_table[] = {
> >> +{ float_flag_inexact , softfloat_flag_inexact },
> >> +{ float_flag_underflow,
Richard Henderson writes:
> On 07/20/2017 05:04 AM, Alex Bennée wrote:
>> +static softfloat_flags softfloat_mapping_table[] = {
>> +{ float_flag_inexact , softfloat_flag_inexact },
>> +{ float_flag_underflow, softfloat_flag_underflow },
>> +{ float_flag_overflow ,
On 07/20/2017 05:04 AM, Alex Bennée wrote:
+static softfloat_flags softfloat_mapping_table[] = {
+{ float_flag_inexact , softfloat_flag_inexact },
+{ float_flag_underflow, softfloat_flag_underflow },
+{ float_flag_overflow , softfloat_flag_overflow },
+{ float_flag_invalid ,
This adds the first of the softfloat3c helpers for handling FP16
operations. To interwork with the existing SoftFloat2a code we need to
copy the exceptions conditions across before each operation and
restore them afterwards.
Signed-off-by: Alex Bennée
---