1 //===- subzero/crosstest/test_select.h - Test prototypes -----*- C++ -*----===// 2 // 3 // The Subzero Code Generator 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 // 10 // This file declares the function prototypes for cross testing the select 11 // bitcode instruction. 12 // 13 //===----------------------------------------------------------------------===// 14 15 #include "vectors.h" 16 17 v4f32 select(v4si32 cond, v4f32 val1, v4f32 val2); 18 v4si32 select(v4si32 cond, v4si32 val1, v4si32 val2); 19 v4ui32 select(v4si32 cond, v4ui32 val1, v4ui32 val2); 20 v8si16 select(v8si16 cond, v8si16 val1, v8si16 val2); 21 v8ui16 select(v8si16 cond, v8ui16 val1, v8ui16 val2); 22 v16si8 select(v16si8 cond, v16si8 val1, v16si8 val2); 23 v16ui8 select(v16si8 cond, v16ui8 val1, v16ui8 val2); 24 v4si32 select_i1(v4si32 cond, v4si32 val1, v4si32 val2); 25 v8si16 select_i1(v8si16 cond, v8si16 val1, v8si16 val2); 26 v16si8 select_i1(v16si8 cond, v16si8 val1, v16si8 val2); 27