From 2729d847ce8214cc3d02e5c80988447997a93cb0 Mon Sep 17 00:00:00 2001 From: Alok Hota Date: Tue, 5 Jun 2018 00:16:27 -0500 Subject: [PATCH] swr/rast: add more llvm intrinsics Reviewed-by: Bruce Cherniak --- .../drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py | 3 +++ 1 file changed, 3 insertions(+) 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']] ] -- 2.30.2