This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch to the GCC portion of the Go frontend corrects the type used for long double builtin math functions with one argument. This lets gccgo inline calls to sqrt, cos, etc., on 32-bit x86. The math package in libgo uses this feature. Previously it was generating function calls rather than using the direct instruction (fsqrt, etc.). Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian 2018-01-05 Ian Lance Taylor <iant@golang.org> * go-gcc.cc (Gcc_backend::Gcc_backend): Correct math_function_type_long to take one argument.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |