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

Side by Side Diff: tests_lit/llvm2ice_tests/convert.ll

Issue 1202563002: Subzero: Fix "make -f Makefile.standalone MINIMAL=1 check". (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
1 ; Simple test of signed and unsigned integer conversions. 1 ; Simple test of signed and unsigned integer conversions.
2 2
3 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 3 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
4 ; RUN: --target x8632 -i %s --args -O2 \ 4 ; RUN: --target x8632 -i %s --args -O2 \
5 ; RUN: | %if --need=target_X8632 --command FileCheck %s 5 ; RUN: | %if --need=target_X8632 --command FileCheck %s
6 6
7 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 7 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
8 ; RUN: --target x8632 -i %s --args -Om1 \ 8 ; RUN: --target x8632 -i %s --args -Om1 \
9 ; RUN: | %if --need=target_X8632 --command FileCheck %s 9 ; RUN: | %if --need=target_X8632 --command FileCheck %s
10 10
11 ; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented) 11 ; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented)
12 ; once enough infrastructure is in. Also, switch to --filetype=obj 12 ; once enough infrastructure is in. Also, switch to --filetype=obj
13 ; when possible. 13 ; when possible.
14 ; RUN: %if --need=target_ARM32 --command %p2i --filetype=asm --assemble \ 14 ; RUN: %if --need=target_ARM32 --need=allow_dump \
15 ; RUN: --command %p2i --filetype=asm --assemble \
15 ; RUN: --disassemble --target arm32 -i %s --args -O2 --skip-unimplemented \ 16 ; RUN: --disassemble --target arm32 -i %s --args -O2 --skip-unimplemented \
16 ; RUN: | %if --need=target_ARM32 --command FileCheck --check-prefix ARM32 %s 17 ; RUN: | %if --need=target_ARM32 --need=allow_dump \
18 ; RUN: --command FileCheck --check-prefix ARM32 %s
17 19
18 ; RUN: %if --need=target_ARM32 --command %p2i --filetype=asm --assemble \ 20 ; RUN: %if --need=target_ARM32 --need=allow_dump \
21 ; RUN: --command %p2i --filetype=asm --assemble \
19 ; RUN: --disassemble --target arm32 -i %s --args -Om1 --skip-unimplemented \ 22 ; RUN: --disassemble --target arm32 -i %s --args -Om1 --skip-unimplemented \
20 ; RUN: | %if --need=target_ARM32 --command FileCheck --check-prefix ARM32 %s 23 ; RUN: | %if --need=target_ARM32 --need=allow_dump \
24 ; RUN: --command FileCheck --check-prefix ARM32 %s
21 25
22 @i8v = internal global [1 x i8] zeroinitializer, align 1 26 @i8v = internal global [1 x i8] zeroinitializer, align 1
23 @i16v = internal global [2 x i8] zeroinitializer, align 2 27 @i16v = internal global [2 x i8] zeroinitializer, align 2
24 @i32v = internal global [4 x i8] zeroinitializer, align 4 28 @i32v = internal global [4 x i8] zeroinitializer, align 4
25 @i64v = internal global [8 x i8] zeroinitializer, align 8 29 @i64v = internal global [8 x i8] zeroinitializer, align 8
26 @u8v = internal global [1 x i8] zeroinitializer, align 1 30 @u8v = internal global [1 x i8] zeroinitializer, align 1
27 @u16v = internal global [2 x i8] zeroinitializer, align 2 31 @u16v = internal global [2 x i8] zeroinitializer, align 2
28 @u32v = internal global [4 x i8] zeroinitializer, align 4 32 @u32v = internal global [4 x i8] zeroinitializer, align 4
29 @u64v = internal global [8 x i8] zeroinitializer, align 8 33 @u64v = internal global [8 x i8] zeroinitializer, align 8
30 34
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 306
303 ; ARM32-LABEL: from_uint64 307 ; ARM32-LABEL: from_uint64
304 ; ARM32: movw {{.*}}u64v 308 ; ARM32: movw {{.*}}u64v
305 ; ARM32: ldr r 309 ; ARM32: ldr r
306 ; ARM32: movw {{.*}}i8v 310 ; ARM32: movw {{.*}}i8v
307 ; ARM32: strb 311 ; ARM32: strb
308 ; ARM32: movw {{.*}}i16v 312 ; ARM32: movw {{.*}}i16v
309 ; ARM32: strh 313 ; ARM32: strh
310 ; ARM32: movw {{.*}}i32v 314 ; ARM32: movw {{.*}}i32v
311 ; ARM32: str r 315 ; ARM32: str r
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/callindirect.pnacl.ll ('k') | tests_lit/llvm2ice_tests/function_aligned.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698