LJ Archive

Listing 4. Output of the Vecdemo1 Command

sh-2.03$ ./vecdemo1
AltiVec aware compiler

vector short values after vec_add()
0xa00 0xa02 0xa04 0xa06 0xa08 0xa0a 0xa0c 0xa0e

vector int values after vec_add()
3 5 7 9

vector float values after vec_add()
3.000000 5.000000 7.000000 9.000000

Goodbye World!
sh-2.03$
LJ Archive