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