[Piglit] [PATCH] [CL]: Fix mul24 test and add mad24/mul24 uint tests
Tom Stellard
tom at stellard.net
Mon Apr 1 11:01:33 PDT 2013
On Sun, Mar 31, 2013 at 09:38:06AM -0500, Aaron Watry wrote:
> ---
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
> generated_tests/generate-cl-int-builtins.py | 27 ++++++++++++++++++++++++---
> 1 file changed, 24 insertions(+), 3 deletions(-)
>
> diff --git a/generated_tests/generate-cl-int-builtins.py b/generated_tests/generate-cl-int-builtins.py
> index 1936454..0f61967 100755
> --- a/generated_tests/generate-cl-int-builtins.py
> +++ b/generated_tests/generate-cl-int-builtins.py
> @@ -587,9 +587,30 @@ builtins = {
> 'arg_types': [T, T, T],
> 'function_type': 'ttt',
> 'values': [
> - [0,1, 1, 512, 0],
> - [0,1,-1, 32, 2**30],
> - [0,1,-1, 16, 1]
> + [0,1, 1, 512, 4278190081],
> + [0,1,-1, 32, 2**23-1],
> + [0,1,-1, 16, 2**23-1]
> + ]
> + }
> + },
> + 'uint': {
> + 'mad24':{
> + 'arg_types': [T, T, T, T],
> + 'function_type': 'ttt',
> + 'values': [
> + [0, 2, 4278190080, 520],
> + [0, 1, 2**24-1, 32],
> + [0, 1, 2**24-1, 16],
> + [0, 1, 2**24-1, 8]
> + ]
> + },
> + 'mul24':{
> + 'arg_types': [T, T, T],
> + 'function_type': 'ttt',
> + 'values': [
> + [0,1,4261412865, 512],
> + [0,1, 2**24-1, 32],
> + [0,1, 2**24-1, 16]
> ]
> }
> }
> --
> 1.7.10.4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list