Commit 7b95e3cd authored by Aaron Watry's avatar Aaron Watry

[CL]: Fix mul24 test and add mad24/mul24 uint tests

Signed-off-by: Aaron Watry <awatry at gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
parent 6a34a73e
......@@ -594,9 +594,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]
]
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment