help: standard name of vector mode

Ian Lance Taylor iant@google.com
Thu Oct 15 18:26:00 GMT 2009


彭建章 <jianzhangpeng@gmail.com> writes:

> I'm porting gcc , and use its autovectorization.
> How can I know wether a  standard name support a vector mode ?

The standard names all have modes built into them.  If you are porting
gcc, then you need to write a define_expand or define_insn in your MD
file with a standard name which incorporates the vector mode that you
are using.  Using the standard name will enable the middle-end of gcc
to know about your operation.  There are many examples in the existing
gcc backends.

Ian



More information about the Gcc mailing list