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]

[power7-meissner] Add copysign support to Altivec; Flesh out vec_* support for vector double


As per Paolo's suggestion, I added copysign support to the Altivec.

I went through altivec.h and added VSX vector double support to the generic
functions where it is appropriate (i.e. vec_add, vec_sub, etc.).  I added
several new vec_<xxx> function if VSX is a target (multiply, divide, sqrt,
etc.).

I fixed up the support for vector bool long, which is needed for the comparison
functions.

-- 
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com

Attachment: gcc-power7.patch66
Description: Text document


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