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

Side by Side Diff: test/MC/X86/nacl-autosandbox/x86-64-stack-pushpop.s

Issue 1274223003: Auto-sandboxing: Switch to automatic scratch register invalidation (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: add flag to tests Created 5 years, 4 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 | « test/MC/X86/nacl-autosandbox/unscratch-fail.s ('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 // RUN: llvm-mc -nacl-enable-auto-sandboxing -filetype asm -triple x86_64-unknow n-nacl %s | FileCheck %s --check-prefix=X8664 1 // RUN: llvm-mc -nacl-enable-auto-sandboxing -filetype asm -triple x86_64-unknow n-nacl %s | FileCheck %s --check-prefix=X8664
2 .scratch %r11 2 .scratch %r11
3 3
4 movq %rsp, %rbp 4 movq %rsp, %rbp
5 //X8664: movq %rsp, %rbp 5 //X8664: movq %rsp, %rbp
6 6
7 movq %rbp, %rsp 7 movq %rbp, %rsp
8 //X8664: movq %rbp, %rsp 8 //X8664: movq %rbp, %rsp
9 9
10 push $12 10 push $12
(...skipping 13 matching lines...) Expand all
24 //X8664-NEXT: leal 131072(%rax,%rdi,8), %r11d 24 //X8664-NEXT: leal 131072(%rax,%rdi,8), %r11d
25 //X8664-NEXT: pushq (%r15,%r11) 25 //X8664-NEXT: pushq (%r15,%r11)
26 //X8664-NEXT: .bundle_unlock 26 //X8664-NEXT: .bundle_unlock
27 27
28 pop %r11 28 pop %r11
29 //X8664: popq %r11 29 //X8664: popq %r11
30 30
31 pop 12(%rsp) 31 pop 12(%rsp)
32 //X8664: popq 12(%rsp) 32 //X8664: popq 12(%rsp)
33 33
34 .scratch %r11
34 pop 131072(%rax, %rdi, 8) 35 pop 131072(%rax, %rdi, 8)
35 //X8664: .bundle_lock 36 //X8664: .bundle_lock
36 //X8664-NEXT: leal 131072(%rax,%rdi,8), %r11d 37 //X8664-NEXT: leal 131072(%rax,%rdi,8), %r11d
37 //X8664-NEXT: popq (%r15,%r11) 38 //X8664-NEXT: popq (%r15,%r11)
38 //X8664-NEXT: .bundle_unlock 39 //X8664-NEXT: .bundle_unlock
OLDNEW
« no previous file with comments | « test/MC/X86/nacl-autosandbox/unscratch-fail.s ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698