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

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

Issue 1232483003: Change MIPS to avoid "none-nacl" for unsandboxed tests (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 5 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 | « pydir/run-pnacl-sz.py ('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 ; Test that functions are aligned to the NaCl bundle alignment. 1 ; Test that functions are aligned to the NaCl bundle alignment.
2 ; We could be smarter and only do this for indirect call targets 2 ; We could be smarter and only do this for indirect call targets
3 ; but typically you want to align functions anyway. 3 ; but typically you want to align functions anyway.
4 ; Also, we are currently using hlts for non-executable padding. 4 ; Also, we are currently using hlts for non-executable padding.
5 5
6 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -O2 | FileCheck %s 6 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -O2 | FileCheck %s
7 7
8 ; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented) 8 ; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented)
9 ; once enough infrastructure is in. Also, switch to --filetype=obj 9 ; once enough infrastructure is in. Also, switch to --filetype=obj
10 ; when possible. 10 ; when possible.
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 ; CHECK-LABEL: foo 25 ; CHECK-LABEL: foo
26 ; CHECK-NEXT: 0: {{.*}} ret 26 ; CHECK-NEXT: 0: {{.*}} ret
27 ; CHECK-NEXT: 1: {{.*}} hlt 27 ; CHECK-NEXT: 1: {{.*}} hlt
28 ; ARM32-LABEL: foo 28 ; ARM32-LABEL: foo
29 ; ARM32-NEXT: 0: {{.*}} bx lr 29 ; ARM32-NEXT: 0: {{.*}} bx lr
30 ; ARM32-NEXT: 4: e7fedef0 udf 30 ; ARM32-NEXT: 4: e7fedef0 udf
31 ; ARM32-NEXT: 8: e7fedef0 udf 31 ; ARM32-NEXT: 8: e7fedef0 udf
32 ; ARM32-NEXT: c: e7fedef0 udf 32 ; ARM32-NEXT: c: e7fedef0 udf
33 ; MIPS32-LABEL: foo 33 ; MIPS32-LABEL: foo
34 ; MIPS32: 4: {{.*}} jr ra 34 ; MIPS32: 0: {{.*}} jr ra
35 ; MIPS32-NEXT: 8: {{.*}} nop 35 ; MIPS32-NEXT: 4: {{.*}} nop
36 ; MIPS32-NEXT: c: e7fedef0
jvoung (off chromium) 2015/07/10 00:02:04 remember to add back the check for the mips equiva
37 36
38 define void @bar() { 37 define void @bar() {
39 ret void 38 ret void
40 } 39 }
41 ; CHECK-LABEL: bar 40 ; CHECK-LABEL: bar
42 ; CHECK-NEXT: 20: {{.*}} ret 41 ; CHECK-NEXT: 20: {{.*}} ret
43 ; ARM32-LABEL: bar 42 ; ARM32-LABEL: bar
44 ; ARM32-NEXT: 10: {{.*}} bx lr 43 ; ARM32-NEXT: 10: {{.*}} bx lr
45 ; MIPS32-LABEL: bar 44 ; MIPS32-LABEL: bar
46 ; MIPS32: 14: {{.*}} jr ra 45 ; MIPS32: 10: {{.*}} jr ra
47 ; MIPS32-NEXT: 18: {{.*}} nop 46 ; MIPS32-NEXT: 14: {{.*}} nop
OLDNEW
« no previous file with comments | « pydir/run-pnacl-sz.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698