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

Re: (R5900) Implementing Vector Support


On 05/15/2016 03:43 AM, Woon yung Liu wrote:
  testv.c:70:2: note: ==> examining statement: _5 = (int) _4;

You need to implement the vec_unpack* patterns.

But how can I tell what operations are required by autovectorization, that are currently not supported?

Well, the dumps you're looking at are the start. But it also requires that you look through tree-vect-stmts.c.


My port is still missing the instructions for initializing vectors, and
inserting/setting and extracting values from vectors. They aren't
implemented yet because I haven't figured out how to implement them; the
documentation describes them as simple operations, but yet the
implementations within mips.c do a lot more things!

Efficient vector initialization requires that we detect some common cases. We do that before the fully general mips_expand_vi_general.


r~


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