[all-commits] [llvm/llvm-project] bae357: [flang] Define ERF, ERFC and ERFC_SCALED intrinsic...
Jean-Didier PAILLEUX via All-commits
all-commits at lists.llvm.org
Mon Mar 31 23:07:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bae3577002b6bda92837723a06a4ca5c498d300f
https://github.com/llvm/llvm-project/commit/bae3577002b6bda92837723a06a4ca5c498d300f
Author: Jean-Didier PAILLEUX <jean-didier.pailleux at sipearl.com>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M flang/docs/Intrinsics.md
M flang/lib/Evaluate/intrinsics.cpp
A flang/test/Lower/Intrinsics/erf.f90
M flang/test/Lower/Intrinsics/erf_real16.f90
M flang/test/Lower/Intrinsics/erfc.f90
M flang/test/Lower/Intrinsics/erfc_real16.f90
M flang/test/Lower/Intrinsics/erfc_scaled.f90
A flang/test/Lower/Intrinsics/erfc_scaled_real16.f90
A flang/test/Semantics/erf.f90
A flang/test/Semantics/erfc.f90
A flang/test/Semantics/erfc_scaled.f90
Log Message:
-----------
[flang] Define ERF, ERFC and ERFC_SCALED intrinsics with Q and D prefix (#125217)
`ERF`, `ERFC` and `ERFC_SCALED` intrinsics prefixed by `Q` and `D` are
missing. Codes such as `CP2K`(https://github.com/cp2k/cp2k) and
`TurboRVB`(https://github.com/sissaschool/turborvb) use these intrinsics
just like defined in the GNU standard and here:
https://www.ibm.com/docs/fr/xl-fortran-aix/16.1.0?topic=reference-intrinsic-procedures
These intrinsics are based on the existing intrinsics but apply a
restriction on the type kind.
- `DERF`, `DERFC` and `DERFC_SCALED` are for double précision only.
- `QERF`, `QERFC` and `QERFC_SCALED` are for quad précision only.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list