aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-09-19 13:01:08 -0700
committerMatt Turner <[email protected]>2013-10-07 10:41:17 -0700
commit014cce3dc49f5b0bfd7fbb1940ed661c9fc7bbd7 (patch)
treea025d94de15b5d8af7b1210859d7ab34df62520e /src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp
parent4ec37317c55ee6be1a5988867aaeb8e9b3f02892 (diff)
i965: Generate code for ir_binop_carry and ir_binop_borrow.
Using the ADDC and SUBB instructions on Gen7. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp b/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp
index fb932d8c217..8cbe1c9bc99 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp
@@ -234,6 +234,8 @@ ir_channel_expressions_visitor::visit_leave(ir_assignment *ir)
case ir_binop_sub:
case ir_binop_mul:
case ir_binop_div:
+ case ir_binop_carry:
+ case ir_binop_borrow:
case ir_binop_mod:
case ir_binop_min:
case ir_binop_max: