[cfe-users] On the effect of #pragma STDC CX_LIMITED_RANGE ON

2020-10-15 Thread Christian Buchner via cfe-users
Hi. I am finding that using said pragma does not have the intended effect of disabling the C99 Annex G compliance that generates calls into the rather slow __mulsc3 and __muldc3 soft float library functions. This behavior was observed in Clang 11 and 10 (I did not test older revisions). Allow me

[cfe-users] Is there a command line switch comparable to gcc's -fcx-limited-range ?

2020-09-30 Thread Christian Buchner via cfe-users
Hi, we have a fairly large code base that spends significant time in library routines like __mulsc3 and __muldc3 which are called whenever complex float or double types are multiplied. To improve this situation for people who want to trade speed for C99 compliance of complex multiplications, the