------- Comment #7 from rguenth at gcc dot gnu dot org 2009-07-15 21:00 ------- icc can vectorize the function, gcc cannot. Use an operating system which has sincos available and you'll get at least that bit.
You definitely want -O3 -ffast-math. That we can't vectorize sin/cos/tan is RMS fault. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40766