彭建章 <jianzhangp...@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