[PATCH v2] benchtests: Add more benchtests for rounding functions.

Junxian Zhu zhujunxian@oss.cipunited.com
Thu Jan 25 13:22:21 GMT 2024


在 2024/1/25 20:07, Adhemerval Zanella Netto 写道:
>
> On 21/01/24 23:16, Junxian Zhu wrote:
>> From: Junxian Zhu <zhujunxian@oss.cipunited.com>
>>
>> This patch adds more benchtests for rounding functions.
>> The double inputs are copied from trunc-inputs, the float inputs are copied from truncf-inputs. and the rintf is copied from rint-inputs.
> LGTM, thanks.
>
> Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
>
>> ---
>>   benchtests/Makefile          | 11 +++++++++++
>>   benchtests/ceil-inputs       | 22 ++++++++++++++++++++++
>>   benchtests/ceilf-inputs      | 21 +++++++++++++++++++++
>>   benchtests/floor-inputs      | 22 ++++++++++++++++++++++
>>   benchtests/floorf-inputs     | 21 +++++++++++++++++++++
>>   benchtests/llrint-inputs     | 22 ++++++++++++++++++++++
>>   benchtests/llrintf-inputs    | 21 +++++++++++++++++++++
>>   benchtests/lrint-inputs      | 22 ++++++++++++++++++++++
>>   benchtests/lrintf-inputs     | 21 +++++++++++++++++++++
>>   benchtests/nearbyint-inputs  | 22 ++++++++++++++++++++++
>>   benchtests/nearbyintf-inputs | 21 +++++++++++++++++++++
>>   benchtests/rintf-inputs      |  7 +++++++
>>   12 files changed, 233 insertions(+)
>>   create mode 100644 benchtests/ceil-inputs
>>   create mode 100644 benchtests/ceilf-inputs
>>   create mode 100644 benchtests/floor-inputs
>>   create mode 100644 benchtests/floorf-inputs
>>   create mode 100644 benchtests/llrint-inputs
>>   create mode 100644 benchtests/llrintf-inputs
>>   create mode 100644 benchtests/lrint-inputs
>>   create mode 100644 benchtests/lrintf-inputs
>>   create mode 100644 benchtests/nearbyint-inputs
>>   create mode 100644 benchtests/nearbyintf-inputs
>>   create mode 100644 benchtests/rintf-inputs


Thanks for your review. Can you push it into master please? I have no 
permission to do that.


More information about the Libc-alpha mailing list