swr/rast: add more llvm intrinsics
authorAlok Hota <alok.hota@intel.com>
Tue, 5 Jun 2018 05:16:27 +0000 (00:16 -0500)
committerAlok Hota <alok.hota@intel.com>
Tue, 30 Apr 2019 19:48:12 +0000 (19:48 +0000)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py

index 97a08d21f35635154c77dfad523b82dac52f9f50..685365cde3432b66deb5dcef4b7b9f4044437a19 100644 (file)
@@ -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']]
 ]