Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(974)

Side by Side Diff: crosstest/test_select.h

Issue 417653004: Lower the select instruction when the operands are of vector type. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Grammar Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « crosstest/runtests.sh ('k') | crosstest/test_select.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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);
OLDNEW
« no previous file with comments | « crosstest/runtests.sh ('k') | crosstest/test_select.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698