This is the mail archive of the gcc-bugs@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]

[Bug target/29852] x86_64: SSE version missing for fmod{d,s,x}f3



------- Comment #8 from rguenth at gcc dot gnu dot org  2006-11-29 18:36 -------
The patch doesn't like me ;)

richard@trick:~/src/trunk/gcc/config/i386$ patch -p0 < /tmp/p
patching file i386.md
Hunk #1 succeeded at 3892 (offset -49 lines).
Hunk #2 succeeded at 3919 (offset -47 lines).
Hunk #3 succeeded at 3990 (offset -47 lines).
Hunk #4 succeeded at 4017 (offset -45 lines).
Hunk #5 FAILED at 15622.
patch: **** unexpected end of file in patch

what does it generate for

double foo(double a, double b)
{
  double x = fmod(a, 1.1);
  return x + b;
}

does it do the truncation as part of the x87 -> SSE register move or
is there extra operations involved?  If we can get all variants optimal
(store to memory comes to my mind as well) it would be nice!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29852


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]