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/40030] vector float * vector float + vector float should produce only vmaddfp



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-05-05 18:03 -------
Another testcase but using intrinsics:
#include <altivec.h>

vector float f(vector float a, vector float b, vector float c)
{
  vector float d = (vector float)(-0.0f);
  return vec_add (c, vec_madd (a, b, d));
}


-- 


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


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