Sign in
llvm
/
llvm-project
/
0a302f66673720a0d3fd3f0ce32ec9cfda428cf1
/
.
/
clang
/
test
/
CodeGen
/
arm-mfpu-none.c
blob: 68793c1daf9919323b16383360ce846ddb934d7c [
file
] [
log
] [
blame
]
// REQUIRES: arm-registered-target
// RUN: %clang -target arm-none-eabi -mcpu=cortex-m4 -mfpu=none -S -o - %s | FileCheck %s
// CHECK-LABEL: compute
// CHECK-NOT: {{s[0-9]}}
// CHECK: .fnend
float
compute
(
float
a
,
float
b
)
{
return
(
a
+
b
)
*
(
a
-
b
);
}