Table 2. AltiVec-enabled gcc New Keywords and Functions
Keywords Size Data Types
--------------------------------------------------------------------
vector unsigned char 16 unsigned char
vector signed char 16 signed char
vector bool char 16 unsigned char
vector unsigned short 8 unsigned short
vector unsigned short int 8 unsigned short
vector signed short 8 signed short
vector signed short int 8 signed short
vector bool short 8 unsigned short
vector bool short int 8 unsigned short
vector unsigned int 4 unsigned int
vector unsigned long 4 unsigned int
vector unsigned long int 4 unsigned int
vector signed int 4 signed int
vector signed long 4 signed int
vector signed long int 4 signed int
vector bool int 4 unsigned int
vector bool long 4 unsigned int
vector bool long int 4 unsigned int
vector float 4 float
vector pixel 8 unsigned short
Copyright © 1994 - 2019 Linux Journal. All rights reserved.