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

Side by Side Diff: tests_lit/llvm2ice_tests/vector-ops.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-icmp.ll ('k') | tests_lit/llvm2ice_tests/vector-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
1 ; This checks support for insertelement and extractelement. 1 ; This checks support for insertelement and extractelement.
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 ; insertelement operations 12 ; insertelement operations
13 13
14 define <4 x float> @insertelement_v4f32_0(<4 x float> %vec, float %elt) { 14 define <4 x float> @insertelement_v4f32_0(<4 x float> %vec, float %elt) {
15 entry: 15 entry:
16 %res = insertelement <4 x float> %vec, float %elt, i32 0 16 %res = insertelement <4 x float> %vec, float %elt, i32 0
17 ret <4 x float> %res 17 ret <4 x float> %res
18 ; CHECK-LABEL: insertelement_v4f32_0 18 ; CHECK-LABEL: insertelement_v4f32_0
19 ; CHECK: movss 19 ; CHECK: movss
20 20
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 %res.ext = zext i1 %res to i32 217 %res.ext = zext i1 %res to i32
218 ret i32 %res.ext 218 ret i32 %res.ext
219 ; CHECK-LABEL: extractelement_v16i1 219 ; CHECK-LABEL: extractelement_v16i1
220 ; CHECK: movups 220 ; CHECK: movups
221 ; CHECK: lea 221 ; CHECK: lea
222 ; CHECK: mov 222 ; CHECK: mov
223 223
224 ; SSE41-LABEL: extractelement_v16i1 224 ; SSE41-LABEL: extractelement_v16i1
225 ; SSE41: pextrb 225 ; SSE41: pextrb
226 } 226 }
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/vector-icmp.ll ('k') | tests_lit/llvm2ice_tests/vector-select.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698