diff options
author | Alok Hota <[email protected]> | 2018-06-05 00:16:27 -0500 |
---|---|---|
committer | Alok Hota <[email protected]> | 2019-04-30 19:48:12 +0000 |
commit | 2729d847ce8214cc3d02e5c80988447997a93cb0 (patch) | |
tree | ab7ca033dab9d16df2f178ef65f100fc301007f2 /src/gallium/drivers/swr | |
parent | 0e3a348bec436b9d949e85574e363a1fe0e7683c (diff) |
swr/rast: add more llvm intrinsics
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py index 97a08d21f35..685365cde34 100644 --- a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py +++ b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py @@ -76,6 +76,9 @@ llvm_intrinsics = [ ['LOG2', 'log2', ['a'], ['a']], ['FABS', 'fabs', ['a'], ['a']], ['EXP2', 'exp2', ['a'], ['a']], + ['COS', 'cos', ['a'], ['a']], + ['SIN', 'sin', ['a'], ['a']], + ['FLOOR', 'floor', ['a'], ['a']], ['POW', 'pow', ['a', 'b'], ['a']] ] |