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] | |
It is interesting that float versions of functions depend on SSE2. Out of curiosity, Is there a reason that float functions can't be implemented in pure SSE (not SSE2) code? This kind of library could then be used also on pentium3.+ if (ix86_fpmath == FPMATH_SSE + && TARGET_SSE2 && TARGET_SSELIBM) + { + patch_sse_builtin (BUILT_IN_ACOS, "__libm_sse2_acos"); + patch_sse_builtin (BUILT_IN_ACOSF, "__libm_sse2_acosf"); + patch_sse_builtin (BUILT_IN_ASIN, "__libm_sse2_asin"); + patch_sse_builtin (BUILT_IN_ASINF, "__libm_sse2_asinf");
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |