[PATCH] Testsuite tweaks (SPARC)

David S. Miller davem@redhat.com
Mon Oct 13 23:14:00 GMT 2003


On Mon, 13 Oct 2003 14:47:35 -0700
"Zack Weinberg" <zack@codesourcery.com> wrote:

> Can you go into more detail about the problems?

It's not so much problems in GCC vector design as much as the
development model Sun has taught Sparc users to use for VIS programs.
They aren't given a bunch of vector types and vector operations, they
are told what VIS instructions exist and they give them macros to call
to make use of them.

There is no real benefit to provide a "VIS backend" to the vector
operations akin to what the Altivec stuff does.  I can't even provide
%40 of the vector operations the Altivec stuff can do, it'd have to be
emulated in normal C code, it's much more primitive with VIS.

Furthermore, VIS programmers don't want these interfaces anyways, so
I'm going to provide direct access to the special VIS instructions
just like Sun's VIS developer kit does.  We'll have a bunch of
builtins that get at the VIS instructions, macros named similarly
to what Sun's headers use, and everything will get scheduled etc.



More information about the Gcc-patches mailing list