------- Additional Comments From rth at gcc dot gnu dot org 2005-01-18 11:34 ------- No, Andrew, mainline is not plainly wrong. We are correctly not using the MMX unit when <mmintrin.h> is not in use. The instruction selection thing can still be seen with the SSE unit though, if you widen the vectors to 16 bytes.
The problem is that ix86_rtx_costs has no idea about the cost of vector operations. For what little it's worth, K8 thinks paddw and psllw are equivalent -- both can be issued to fadd or fmul pipelines. -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14552