diff options
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.h b/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.h index 8c35a04..34ce00e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.h @@ -49,6 +49,12 @@ lp_build_uadd_overflow(struct gallivm_state *gallivm, LLVMValueRef *ofbit); LLVMValueRef +lp_build_usub_overflow(struct gallivm_state *gallivm, + LLVMValueRef a, + LLVMValueRef b, + LLVMValueRef *ofbit); + +LLVMValueRef lp_build_umul_overflow(struct gallivm_state *gallivm, LLVMValueRef a, LLVMValueRef b, |