i965/fs: Lower 32x32 bit multiplication on BXT.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_eu_util.c
index 747c2d7d2e98940466b1365c1bfb289514e1bd5b..f74e3fe58d31a0ca5c822f719e379ebac499f24e 100644 (file)
 #include "brw_eu.h"
 
 
-void brw_math_invert( struct brw_compile *p,
+void brw_math_invert( struct brw_codegen *p,
                             struct brw_reg dst,
                             struct brw_reg src)
 {
-   brw_math( p,
+   gen4_math(p,
             dst,
             BRW_MATH_FUNCTION_INV,
             0,
             src,
-            BRW_MATH_PRECISION_FULL,
-            BRW_MATH_DATA_VECTOR );
+            BRW_MATH_PRECISION_FULL);
 }
 
 
 
-void brw_copy4(struct brw_compile *p,
+void brw_copy4(struct brw_codegen *p,
               struct brw_reg dst,
               struct brw_reg src,
               unsigned count)
@@ -69,7 +68,7 @@ void brw_copy4(struct brw_compile *p,
 }
 
 
-void brw_copy8(struct brw_compile *p,
+void brw_copy8(struct brw_codegen *p,
               struct brw_reg dst,
               struct brw_reg src,
               unsigned count)
@@ -87,7 +86,7 @@ void brw_copy8(struct brw_compile *p,
 }
 
 
-void brw_copy_indirect_to_indirect(struct brw_compile *p,
+void brw_copy_indirect_to_indirect(struct brw_codegen *p,
                                   struct brw_indirect dst_ptr,
                                   struct brw_indirect src_ptr,
                                   unsigned count)
@@ -103,7 +102,7 @@ void brw_copy_indirect_to_indirect(struct brw_compile *p,
 }
 
 
-void brw_copy_from_indirect(struct brw_compile *p,
+void brw_copy_from_indirect(struct brw_codegen *p,
                            struct brw_reg dst,
                            struct brw_indirect ptr,
                            unsigned count)