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

Side by Side Diff: test/NaCl/X86/asm_mplus.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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/NaCl/X86/asm_memory.ll ('k') | test/NaCl/X86/dynamic-stack-alloc.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; RUN: pnacl-llc -mtriple=x86_64-unknown-nacl -filetype=asm %s -o - \
2 ; RUN: | FileCheck %s
3
4 target datalayout = "e-m:e-p:32:32-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64--nacl"
6
7 ; Test that we can handle 2 memory constraints in one inline asm
8 define i32 @f(i32* %a, i32 %b) {
9 entry:
10 ; CHECK: lock
11 ; CHECK: xaddl %e{{[a-z]*}}, %nacl:(%r15,%r{{[a-z]*}})
12 %r = call i32 asm sideeffect "lock; xaddl $0, $1", "=r,=*m,0,*m,~{memory},~{di rflag},~{fpsr},~{flags}"(i32* %a, i32 %b, i32* %a)
13 ret i32 %r
14 }
OLDNEW
« no previous file with comments | « test/NaCl/X86/asm_memory.ll ('k') | test/NaCl/X86/dynamic-stack-alloc.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698