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