This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Prototype for SSE2 calling convention libm on ia32
On Wed, Jun 08, 2005 at 12:45:30AM +0200, Richard Guenther wrote:
> Basically we need to be able to tell the middle-end to emit
> a libcall for __builtin_sin to __libm_sse2_sin rather than
> to sin.
Modify DECL_ASSEMBLER_NAME of the builtin decl.
> double foo(double) __attribute__((fpregparm));
> double bar(double x) { return foo(x); }
>
> we ICE compiling without -msse2 enabled (because some pattern does
> not match its constraints).
Then that is a bug. We need to fix it.
r~