From: Alok Hota Date: Tue, 5 Jun 2018 05:16:27 +0000 (-0500) Subject: swr/rast: add more llvm intrinsics X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2729d847ce8214cc3d02e5c80988447997a93cb0;p=mesa.git swr/rast: add more llvm intrinsics Reviewed-by: Bruce Cherniak --- 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']] ]