diff options
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_format_float.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_float.c b/src/gallium/auxiliary/gallivm/lp_bld_format_float.c index 352068a21b5..f899d6d64d5 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_format_float.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_format_float.c @@ -266,7 +266,7 @@ lp_build_smallfloat_to_float(struct gallivm_state *gallivm, LLVMValueRef signmask = lp_build_const_int_vec(gallivm, i32_type, 0x80000000); shift = lp_build_const_int_vec(gallivm, i32_type, 8 - exponent_bits); sign = lp_build_shl(&i32_bld, src, shift); - sign = lp_build_and(&i32_bld, signmask, src); + sign = lp_build_and(&i32_bld, signmask, sign); res = lp_build_or(&i32_bld, res, sign); } |