[flang-commits] [PATCH] D154144: [flang] IEEE_ARITHMETIC intrinsic module procedures

vdonaldson via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Jun 29 13:08:06 PDT 2023


vdonaldson created this revision.
vdonaldson added a project: Flang.
Herald added subscribers: sunshaoce, mehdi_amini, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
vdonaldson requested review of this revision.

Implement

- IEEE_CLASS
- IEEE_COPY_SIGN
- IEEE_GET_ROUNDING_MODE
- IEEE_IS_FINITE
- IEEE_IS_NAN
- IEEE_IS_NEGATIVE
- IEEE_IS_NORMAL
- IEEE_SET_ROUNDING_MODE
- IEEE_SIGNBIT
- IEEE_SUPPORT_ROUNDING
- IEEE_UNORDERED
- IEEE_VALUE

for all REAL kinds (2, 3, 4, 8, 10, 16) where applicable.


https://reviews.llvm.org/D154144

Files:
  flang/include/flang/Lower/PFTBuilder.h
  flang/include/flang/Optimizer/Builder/IntrinsicCall.h
  flang/include/flang/Optimizer/Builder/LowLevelIntrinsics.h
  flang/include/flang/Runtime/ieee_arithmetic.h
  flang/lib/Evaluate/fold-logical.cpp
  flang/lib/Lower/Bridge.cpp
  flang/lib/Lower/PFTBuilder.cpp
  flang/lib/Optimizer/Builder/IntrinsicCall.cpp
  flang/lib/Optimizer/Builder/LowLevelIntrinsics.cpp
  flang/module/ieee_arithmetic.f90
  flang/test/Lower/Intrinsics/ieee_class.f90
  flang/test/Lower/Intrinsics/ieee_class_queries.f90
  flang/test/Lower/Intrinsics/ieee_copy_sign.f90
  flang/test/Lower/Intrinsics/ieee_is_finite.f90
  flang/test/Lower/Intrinsics/ieee_operator_eq.f90
  flang/test/Lower/Intrinsics/ieee_rounding.f90
  flang/test/Lower/Intrinsics/ieee_signbit.f90
  flang/test/Lower/Intrinsics/ieee_unordered.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154144.535966.patch
Type: text/x-patch
Size: 92282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230629/1fa4c9a7/attachment-0001.bin>


More information about the flang-commits mailing list