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

Side by Side Diff: tests_lit/llvm2ice_tests/arith.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
« no previous file with comments | « tests_lit/llvm2ice_tests/alloc.ll ('k') | tests_lit/llvm2ice_tests/branch-opt.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 ; Assembly test for simple arithmetic operations. 1 ; Assembly test for simple arithmetic operations.
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 ; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented) 7 ; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented)
8 ; once enough infrastructure is in. Also, switch to --filetype=obj 8 ; once enough infrastructure is in. Also, switch to --filetype=obj
9 ; when possible. 9 ; when possible.
10 ; RUN: %if --need=target_ARM32 --command %p2i --filetype=asm --assemble \ 10 ; RUN: %if --need=target_ARM32 --need=allow_dump \
11 ; RUN: --command %p2i --filetype=asm --assemble \
11 ; RUN: --disassemble --target arm32 -i %s --args -O2 --skip-unimplemented \ 12 ; RUN: --disassemble --target arm32 -i %s --args -O2 --skip-unimplemented \
12 ; RUN: | %if --need=target_ARM32 --command FileCheck --check-prefix ARM32 %s 13 ; RUN: | %if --need=target_ARM32 --need=allow_dump \
14 ; RUN: --command FileCheck --check-prefix ARM32 %s
13 15
14 define i32 @Add(i32 %a, i32 %b) { 16 define i32 @Add(i32 %a, i32 %b) {
15 entry: 17 entry:
16 %add = add i32 %b, %a 18 %add = add i32 %b, %a
17 ret i32 %add 19 ret i32 %add
18 } 20 }
19 ; CHECK-LABEL: Add 21 ; CHECK-LABEL: Add
20 ; CHECK: add e 22 ; CHECK: add e
21 ; ARM32-LABEL: Add 23 ; ARM32-LABEL: Add
22 ; ARM32: add r 24 ; ARM32: add r
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 ; ARM32-LABEL: Udiv 142 ; ARM32-LABEL: Udiv
141 143
142 define i32 @Urem(i32 %a, i32 %b) { 144 define i32 @Urem(i32 %a, i32 %b) {
143 entry: 145 entry:
144 %rem = urem i32 %a, %b 146 %rem = urem i32 %a, %b
145 ret i32 %rem 147 ret i32 %rem
146 } 148 }
147 ; CHECK-LABEL: Urem 149 ; CHECK-LABEL: Urem
148 ; CHECK: div e 150 ; CHECK: div e
149 ; ARM32-LABEL: Urem 151 ; ARM32-LABEL: Urem
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/alloc.ll ('k') | tests_lit/llvm2ice_tests/branch-opt.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698