On Tue, 6 Aug 2024, 17:28 Andi Kleen, <a...@linux.intel.com> wrote:

> Cassio Neri <cassio.n...@gmail.com> writes:
>
> > Implement the template function teju_jagua which finds the shortest
> > representation of a floating-point number. The floating-point type is a
> > template parameter and the implementation is generic enough to handle all
> > floating-point types of interest, namely, IEEE 754, std::bfloat16_t,
> > x86 80-bit and IBM128.
>
> So the only benefit is performance, right?


The functions should be as fast as possible.

The algorithm is also simpler though.

So the patch
> should come with some performance numbers how it is better
> than the old code. Also how did you validate that it works
> correctly?
>

See the talks linked to in
https://gcc.gnu.org/pipermail/gcc-patches/2024-August/659362.html



> -Andi
>

Reply via email to