summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/arm-mfpu-none.c
blob: ae4b07d86381315f30e4a7cfa8e651a9e6fc376d (plain)
1
2
3
4
5
6
7
8
// 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]}}
float compute(float a, float b) {
  return (a+b) * (a-b);
}
OpenPOWER on IntegriCloud