This is the mail archive of the gcc-patches@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: altivec is not the only simd arch



> > This seems ambiguous to me, what exactly is the example supposed to
> > produce and how will [certain] operators work on SIMD types?
> 
> You are reading too much into this.  It's not ambiguous at all.
> If I write "int a,b; a + b", do I get saturated or truncating
> addition?  The same applies to all your other questions.

right.

> We will not be overloading the standard operators for non-standard
> operations.  Those will have to be acquired some other way.

daniel see the full patch i just sent.  i am suggesting a set of 
builtins to do the saturation stuff as well as the rest of the common SIMD
stuff.  but this is a totally different story.  right now all i'm
providing is plain old addition, subtraction, multiplication, and
division.

aldy


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