llvm-project/clang/test/CodeGen/arm-mfpu-none.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
252 B
C
Raw Normal View History

// 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);
}