diff options
author | Samuel Pitoiset <[email protected]> | 2019-03-22 11:59:32 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-03-28 13:02:48 +0100 |
commit | 52c02d921f94aec3635fc4352c2deccbb9e718ea (patch) | |
tree | 878b1f098536c35cc0d7b5cbb823c833e781dd30 /src/amd/common/ac_llvm_build.h | |
parent | 1bf9311c59d8a941680a69159e894a0883b8db7b (diff) |
ac: add ac_build_frex_exp() helper ans 16-bit/32-bit support
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r-- | src/amd/common/ac_llvm_build.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h index db20b39d443..c3277fd2d13 100644 --- a/src/amd/common/ac_llvm_build.h +++ b/src/amd/common/ac_llvm_build.h @@ -678,6 +678,10 @@ LLVMValueRef ac_build_shuffle(struct ac_llvm_context *ctx, LLVMValueRef src, LLVMValueRef index); LLVMValueRef +ac_build_frexp_exp(struct ac_llvm_context *ctx, LLVMValueRef src0, + unsigned bitsize); + +LLVMValueRef ac_build_frexp_mant(struct ac_llvm_context *ctx, LLVMValueRef src0, unsigned bitsize); |