diff options
author | Matt Turner <[email protected]> | 2013-09-19 13:01:08 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-10-07 10:41:17 -0700 |
commit | 014cce3dc49f5b0bfd7fbb1940ed661c9fc7bbd7 (patch) | |
tree | a025d94de15b5d8af7b1210859d7ab34df62520e /src/mesa/drivers/dri/i965/brw_vec4.h | |
parent | 4ec37317c55ee6be1a5988867aaeb8e9b3f02892 (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_vec4.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 9683f1c06cd..290363e416b 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -419,6 +419,8 @@ public: vec4_instruction *FBL(dst_reg dst, src_reg value); vec4_instruction *CBIT(dst_reg dst, src_reg value); vec4_instruction *MAD(dst_reg dst, src_reg c, src_reg b, src_reg a); + vec4_instruction *ADDC(dst_reg dst, src_reg src0, src_reg src1); + vec4_instruction *SUBB(dst_reg dst, src_reg src0, src_reg src1); int implied_mrf_writes(vec4_instruction *inst); |