Sign in
ara-mdk
/
platform
/
external
/
clang
/
2d1b09641ecf2e754bf3fd244dc45dbf3e460c1b
/
.
/
test
/
CodeGen
/
arm-asm.c
blob: bd2fe11993691c6dae4cdddb3b1dc3fbf88d3ea4 [
file
] [
log
] [
blame
]
// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple thumb %s -emit-llvm -o - | FileCheck %s
int
t1
()
{
static
float
k
=
1.0f
;
// CHECK: flds s15
__asm__
volatile
(
"flds s15, %[k] \n"
::
[
k
]
"Uv"
(
k
)
:
"s15"
);
return
0
;
}