1 // RUN: %clang_cc1 -fexperimental-strict-floating-point \
2 // RUN: -triple i386-pc-windows -target-cpu pentium4 -target-feature -sse \
3 // RUN: -emit-llvm -ffp-eval-method=source -o - -verify=warn %s
5 // RUN: %clang_cc1 -fexperimental-strict-floating-point \
6 // RUN: -triple i386-pc-windows -target-cpu pentium4 \
7 // RUN: -emit-llvm -ffp-eval-method=source -o - -verify=no-warn %s
9 // no-warn-no-diagnostics
11 float add1(float a
, float b
, float c
) {
13 } // warn-warning{{setting the floating point evaluation method to `source` on a target without SSE is not supported}}
15 float add2(float a
, float b
, float c
) {
16 #pragma clang fp eval_method(source)
18 } // warn-warning{{setting the floating point evaluation method to `source` on a target without SSE is not supported}}