1 //===-- main.cpp ------------------------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #include <Accelerate/Accelerate.h> 11 #include <vecLib/vecLibTypes.h> 12 13 int main() 14 { 15 vFloat valueFL = {1,0,4,0}; 16 vDouble valueDL = {1,4}; 17 int16_t valueI16[8] = {1,0,4,0,0,1,0,4}; 18 int32_t valueI32[4] = {1,0,4,0}; 19 vUInt8 valueU8 = {1,0,4,0,0,1,0,4}; 20 vUInt16 valueU16 = {1,0,4,0,0,1,0,4}; 21 vUInt32 valueU32 = {1,2,3,4}; 22 vSInt8 valueS8 = {1,0,4,0,0,1,0,4}; 23 vSInt16 valueS16 = {1,0,4,0,0,1,0,4}; 24 vSInt32 valueS32 = {4,3,2,1}; 25 vBool32 valueBool32 = {false,true,false,true}; 26 return 0; // Set break point at this line. 27 } 28