[PATCH 06/15] benchtests: Add sinpif

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Tue Feb 11 13:13:15 GMT 2025



On 07/02/25 19:54, DJ Delorie wrote:
> Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
>> Random inpus in the range of [-1,1].
> 
> s/inpus/inputs/
> 
>> diff --git a/benchtests/Makefile b/benchtests/Makefile
>>    sinf \
>>    sinh \
>>    sinhf \
>> +  sinpif \
>>    sqrt \
> 
> Ok.
> 
>> diff --git a/benchtests/sinpif-inputs b/benchtests/sinpif-inputs
>> +## args: float
>> +## ret: float
>> +## includes: math.h
>> +# Random inputs in [-1,1]
>> +## name: workload-random
> 
> This data is also in the range (-4,4) not [-1,1]


You are right, I used the same input range CORE-MATH uses for performance
evaluation and it is on the range of [-4,4].  I will update the comment.

> 
>> +-0x1.b9120cp+1
>> +0x1.f3d9f8p+0
>> +-0x1.f9b3ep+0
>> . . .
>> +-0x1.69b2c8p-1
>> +-0x1.e00c52p+1
>> +-0x1.1467bcp+1
>> +-0x1.a73d54p+0
> 



More information about the Libc-alpha mailing list