================ ---------------- wenju-he wrote:
Simplify these 4 lines using add-half-minus-one rounding trick: `val_ui = (full_mant + ((1u << (ex1 - 1)) - 1u) + ((full_mant >> ex1) & 1u)) >> ex1;`? This should produce fewer instructions. https://github.com/llvm/llvm-project/pull/233823 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
