[flang-commits] [PATCH] D127025: [flang][runtime] Use __float128 where possible & needed in runtime

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Jun 3 16:03:47 PDT 2022


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

On targets with __float128 available and distinct from long double,
use it to support more kind=16 entry points.  This affects mostly
x86-64 targets.  This means that more runtime entry points are
defined for lowering to call.

Delete Common/long-double.h and its LONG_DOUBLE macro in favor of
testing the standard macro LDBL_MANT_DIG.


https://reviews.llvm.org/D127025

Files:
  flang/include/flang/Common/long-double.h
  flang/include/flang/Runtime/cpp-type.h
  flang/include/flang/Runtime/float128.h
  flang/include/flang/Runtime/reduction.h
  flang/lib/Decimal/binary-to-decimal.cpp
  flang/lib/Evaluate/intrinsics-library.cpp
  flang/runtime/complex-reduction.c
  flang/runtime/dot-product.cpp
  flang/runtime/extrema.cpp
  flang/runtime/findloc.cpp
  flang/runtime/numeric.cpp
  flang/runtime/product.cpp
  flang/runtime/random.cpp
  flang/runtime/sum.cpp
  flang/runtime/tools.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127025.434184.patch
Type: text/x-patch
Size: 37508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220603/7122bca2/attachment-0001.bin>


More information about the flang-commits mailing list