Date: Thu, 16 Apr 2020 11:36:38 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: sidneym@...eaurora.org Cc: musl@...ts.openwall.com Subject: Re: Hexagon DSP support * sidneym@...eaurora.org <sidneym@...eaurora.org> [2020-04-15 13:22:29 -0500]: > > sqrt/sqrtf should work too (you may want to implement them if there is a > > single instruction) other math failures are not target specific. > > In fact that does go away if I used the hardware accelerated routine that is > part of compiler-rt.builtins (__hexagon_sqrt) Creating an explicit > reference to compiler-rt-builtins vs just copying the assembly, which is > preferred? the preferred is like on other targets an inline asm block. i think using __builtin_sqrt may be fine too if you know that all hexagon compilers support that and doesnt generate an actual sqrt call (e.g. on gcc that needs -fno-math-errno).
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.