Message ID | 54627989.1090109@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
On 12 November 2014 02:33, Adhemerval Zanella <azanella@linux.vnet.ibm.com> wrote: > This patch add a fmod benchmark with finite-only inputs. > > Tested on powerpc64 and powerpc32. > > -- > > * benchtests/Makefile [bench-math]: Add fmod benchmark. > * benchtests/fmod-inputs: New file: fmod input file. Looks OK. Thanks, Siddhesh
diff --git a/benchtests/Makefile b/benchtests/Makefile index 78fd48f..e030fd0 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -23,7 +23,7 @@ subdir := benchtests include ../Makeconfig bench-math := acos acosh asin asinh atan atanh cos cosh exp exp2 ffs ffsll \ - log log2 modf pow rint sin sincos sinh sqrt tan tanh + fmod log log2 modf pow rint sin sincos sinh sqrt tan tanh bench-pthread := pthread_once diff --git a/benchtests/fmod-inputs b/benchtests/fmod-inputs new file mode 100644 index 0000000..36b264b --- /dev/null +++ b/benchtests/fmod-inputs @@ -0,0 +1,5 @@ +## includes: math.h +## args: double:double +0.0, 3.0 +6.5, 2.25 +0x0.fffffep-126L, 0x1p-149