Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/X86/cmpxchg16b.ll @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | 54457678186b |
line wrap: on
line source
; RUN: llc < %s -march=x86-64 -mcpu=core2 | FileCheck %s ; Basic 128-bit cmpxchg define void @t1(i128* nocapture %p) nounwind ssp { entry: ; CHECK: movl $1, %ebx ; CHECK: lock ; CHECK-NEXT: cmpxchg16b %r = cmpxchg i128* %p, i128 0, i128 1 seq_cst ret void } ; FIXME: Handle 128-bit atomicrmw/load atomic/store atomic