Sign in
ara-mdk
/
platform
/
external
/
clang
/
c90cc9374f18396251760b9fe6468fd1232e9f0e
/
.
/
test
/
CodeGen
/
arm-inline-asm.c
blob: 95bb507c2798b4151ab66cd1a14e33d821a11f5d [
file
] [
log
] [
blame
]
// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s
void
t1
(
void
*
f
,
int
g
)
{
// CHECK: call void asm "str $1, $0", "=*Q,r"
asm
(
"str %1, %0"
:
"=Q"
(
f
)
:
"r"
(
g
));
}