Sign in
ara-mdk
/
platform
/
external
/
clang
/
abc0bea57d4e659d5cde178a4bb426acc48f999e
/
.
/
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
;
}