Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6f0bca7a0ababdfe141f7b1c0435f4ff71d1bff5
/
.
/
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
;
}