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

Side by Side Diff: tests_lit/llvm2ice_tests/vector-select.ll

Issue 955003002: Subzero: Clean up function header emission. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix the tests that were broken as a result Created 5 years, 9 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 | « tests_lit/llvm2ice_tests/vector-ops.ll ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; This file tests support for the select instruction with vector valued inputs. 1 ; This file tests support for the select instruction with vector valued inputs.
2 2
3 ; RUN: %p2i -i %s --assemble --disassemble --args -O2 --verbose none \ 3 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 \
4 ; RUN: | FileCheck %s 4 ; RUN: | FileCheck %s
5 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 --verbose none \ 5 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 \
6 ; RUN: | FileCheck %s 6 ; RUN: | FileCheck %s
7 ; RUN: %p2i -i %s --assemble --disassemble --args -O2 -mattr=sse4.1 \ 7 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 -mattr=sse4.1 \
8 ; RUN: --verbose none | FileCheck --check-prefix=SSE41 %s 8 ; RUN: | FileCheck --check-prefix=SSE41 %s
9 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 -mattr=sse4.1 \ 9 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 -mattr=sse4.1 \
10 ; RUN: --verbose none | FileCheck --check-prefix=SSE41 %s 10 ; RUN: | FileCheck --check-prefix=SSE41 %s
11 11
12 define <16 x i8> @test_select_v16i8(<16 x i1> %cond, <16 x i8> %arg1, <16 x i8> %arg2) { 12 define <16 x i8> @test_select_v16i8(<16 x i1> %cond, <16 x i8> %arg1, <16 x i8> %arg2) {
13 entry: 13 entry:
14 %res = select <16 x i1> %cond, <16 x i8> %arg1, <16 x i8> %arg2 14 %res = select <16 x i1> %cond, <16 x i8> %arg1, <16 x i8> %arg2
15 ret <16 x i8> %res 15 ret <16 x i8> %res
16 ; CHECK-LABEL: test_select_v16i8 16 ; CHECK-LABEL: test_select_v16i8
17 ; CHECK: pand 17 ; CHECK: pand
18 ; CHECK: pandn 18 ; CHECK: pandn
19 ; CHECK: por 19 ; CHECK: por
20 20
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ret <4 x i1> %res 95 ret <4 x i1> %res
96 ; CHECK-LABEL: test_select_v4i1 96 ; CHECK-LABEL: test_select_v4i1
97 ; CHECK: pand 97 ; CHECK: pand
98 ; CHECK: pandn 98 ; CHECK: pandn
99 ; CHECK: por 99 ; CHECK: por
100 100
101 ; SSE41-LABEL: test_select_v4i1 101 ; SSE41-LABEL: test_select_v4i1
102 ; SSE41: pslld xmm0,0x1f 102 ; SSE41: pslld xmm0,0x1f
103 ; SSE41: blendvps xmm{{[0-7]}},{{xmm[0-7]|XMMWORD}} 103 ; SSE41: blendvps xmm{{[0-7]}},{{xmm[0-7]|XMMWORD}}
104 } 104 }
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/vector-ops.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698