On Mon, 2015-04-20 at 16:57 -0400, Jan Vesely wrote:
> On Sat, 2015-04-11 at 21:16 -0400, Jan Vesely wrote:
> > Pass on Intel CPU, fail (expected) on Turks
> 
> note that the test passes on turks since llvm r234716

ping. Anything wrong with 3/3?

jan

> 
> jan
> 
> > 
> > Signed-off-by: Jan Vesely <[email protected]>
> > ---
> >  generated_tests/gen_cl_math_builtins.py | 20 ++++++++++++++++++++
> >  1 file changed, 20 insertions(+)
> > 
> > diff --git a/generated_tests/gen_cl_math_builtins.py 
> > b/generated_tests/gen_cl_math_builtins.py
> > index ce7682d..9e51079 100644
> > --- a/generated_tests/gen_cl_math_builtins.py
> > +++ b/generated_tests/gen_cl_math_builtins.py
> > @@ -53,6 +53,8 @@ CLC_VERSION_MIN = {
> >      'exp' : 10,
> >      'fabs' : 10,
> >      'floor' : 10,
> > +    'fmax' : 10,
> > +    'fmin' : 10,
> >      'fmod' : 10,
> >      'ldexp' : 10,
> >      'log10' : 10,
> > @@ -277,6 +279,24 @@ tests = {
> >              [0.5, -0.5, 0.0, -0.0, float("nan"), -3.99, 1.5]
> >          ]
> >      },
> > +    'fmax' : {
> > +        'arg_types': [F, F, F],
> > +        'function_type': 'tss',
> > +        'values': [
> > +            [1.0,  0.0, 0.0,  0.0, 1.0, 1.0,          float("nan")], 
> > #Result
> > +            [1.0, -0.5, 0.0,  0.0, 1.0, float("nan"), float("nan")], #Arg0
> > +            [0.0,  0.0, 0.0, -0.5, float("nan"), 1.0, float("nan")] #Arg1
> > +        ]
> > +    },
> > +    'fmin' : {
> > +        'arg_types': [F, F, F],
> > +        'function_type': 'tss',
> > +        'values': [
> > +            [0.0, -0.5, 0.0, -0.5, 1.0, 1.0,          float("nan")], 
> > #Result
> > +            [1.0, -0.5, 0.0,  0.0, 1.0, float("nan"), float("nan")], #Arg0
> > +            [0.0,  0.0, 0.0, -0.5, float("nan"), 1.0, float("nan")] #Arg1
> > +        ]
> > +    },
> >      'fmod' : {
> >          'arg_types': [F, F, F],
> >          'function_type': 'ttt',
> 

-- 
Jan Vesely <[email protected]>

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to