flang/test/Lower/Intrinsics/fma_real16.f90
raw| 1 | ! RUN: bbc -emit-fir %s -o - | FileCheck %s |
| 2 | ! RUN: bbc --math-runtime=precise -emit-fir %s -o - | FileCheck %s |
| 3 | ! RUN: %flang_fc1 -emit-fir %s -o - | FileCheck %s |
| 4 | |
| 5 | ! CHECK: fir.call @_FortranAFmaF128({{.*}}){{.*}}: (f128, f128, f128) -> f128 |
| 6 | use ieee_arithmetic, only: ieee_fma |
| 7 | real(16) :: x, y, z |
| 8 | x = ieee_fma(x, y, z) |
| 9 | end |