| 1 |
// REQUIRES: arm-registered-target |
| 2 |
// RUN: %clang -target arm-none-eabi -mcpu=cortex-m4 -mfpu=none -S -o - %s | FileCheck %s |
| 3 |
|
| 4 |
// CHECK-LABEL: compute |
| 5 |
// CHECK-NOT: {{s[0-9]}} |
| 6 |
// CHECK: .fnend |
| 7 |
float compute(float a, float b) { |
| 8 |
return (a+b) * (a-b); |
| 9 |
} |