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

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Thu Jan 25 14:24:51 GMT 2024



On 25/01/24 10:22, Junxian Zhu wrote:
> 在 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.

I will add on my backlog for 2.40.


More information about the Libc-alpha mailing list