[libre-riscv-dev] [Bug 127] Transcendentals needed (SIN/COS/ATAN2/EXP/LOG/POW etc.)

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Wed Aug 7 00:11:11 BST 2019


--- Comment #11 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #10)
> done.  what about hypot? 
> https://www.khronos.org/registry/spir-v/specs/unified1/OpenCL.
> ExtendedInstructionSet.100.html
> "Result Type, x and y must be floating-point or vector(2,3,4,8,16) of
> floating-point values."
> do they mean x must be a vector and y must be a vector, and the result is:
> map(hypot, zip(x, y))

> hypot would be another separate funct5, have to be careful not to add too
> many of those.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-riscv-dev mailing list