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

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

Issue 695993004: Subzero: Switch to AT&T asm syntax. I give up. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add opcode suffix to xchg. Use .L$ prefix for constant pool entries. Created 6 years, 1 month 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-bitcast.ll ('k') | tests_lit/llvm2ice_tests/vector-fcmp.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 file tests casting / conversion operations that apply to vector types. 1 ; This file tests casting / conversion operations that apply to vector types.
2 ; bitcast operations are in vector-bitcast.ll. 2 ; bitcast operations are in vector-bitcast.ll.
3 3
4 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer 4 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer
5 ; doesn't know how to symbolize non-section-local functions. 5 ; doesn't know how to symbolize non-section-local functions.
6 ; The newer LLVM 3.6 one does work, but watch out for other bugs. 6 ; The newer LLVM 3.6 one does work, but watch out for other bugs.
7 7
8 ; RUN: %p2i -i %s --args -O2 --verbose none \ 8 ; RUN: %p2i -i %s --args -O2 --verbose none \
9 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s 9 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s
10 ; RUN: %p2i -i %s --args -O2 --verbose none \ 10 ; RUN: %p2i -i %s --args -O2 --verbose none \
11 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 11 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
12 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 12 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
13 ; RUN: %p2i -i %s --args -Om1 --verbose none \ 13 ; RUN: %p2i -i %s --args -Om1 --verbose none \
14 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 14 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
15 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 15 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
16 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s 16 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
17 ; RUN: %p2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s 17 ; RUN: %p2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s
18 18
19 ; sext operations 19 ; sext operations
20 20
21 define <16 x i8> @test_sext_v16i1_to_v16i8(<16 x i1> %arg) { 21 define <16 x i8> @test_sext_v16i1_to_v16i8(<16 x i1> %arg) {
22 entry: 22 entry:
23 %res = sext <16 x i1> %arg to <16 x i8> 23 %res = sext <16 x i1> %arg to <16 x i8>
24 ret <16 x i8> %res 24 ret <16 x i8> %res
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 ret <4 x float> %res 167 ret <4 x float> %res
168 168
169 ; CHECK-LABEL: test_uitofp_v4i32_to_v4f32: 169 ; CHECK-LABEL: test_uitofp_v4i32_to_v4f32:
170 ; CHECK: call -4 170 ; CHECK: call -4
171 ; CALLTARGETS-LABEL: test_uitofp_v4i32_to_v4f32 171 ; CALLTARGETS-LABEL: test_uitofp_v4i32_to_v4f32
172 ; CALLTARGETS: call Sz_uitofp_v4i32 172 ; CALLTARGETS: call Sz_uitofp_v4i32
173 } 173 }
174 174
175 ; ERRORS-NOT: ICE translation error 175 ; ERRORS-NOT: ICE translation error
176 ; DUMP-NOT: SZ 176 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/vector-bitcast.ll ('k') | tests_lit/llvm2ice_tests/vector-fcmp.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698