aboutsummaryrefslogtreecommitdiff
path: root/gcc/range-op-float.cc
diff options
context:
space:
mode:
authorVasiliy Fofanov <fofanov@adacore.com>2023-07-26 08:33:18 +0000
committerMarc Poulhiès <poulhies@adacore.com>2023-08-03 14:07:36 +0200
commit65a31e22a81f94df87f8248f08a0308aa3d64431 (patch)
tree52fa6811d8b3074e277ed9f8030b4863fc969ef4 /gcc/range-op-float.cc
parent3b21dae599fe172c786836da508bad91372b4d09 (diff)
downloadgcc-65a31e22a81f94df87f8248f08a0308aa3d64431.zip
gcc-65a31e22a81f94df87f8248f08a0308aa3d64431.tar.gz
gcc-65a31e22a81f94df87f8248f08a0308aa3d64431.tar.bz2
ada: Rewrite Set_Image_*_Unsigned routines to remove recursion.
This rewriting removes algorithm inefficiencies due to unnecessary recursion and copying. The new version has much smaller and statically known stack requirements and is additionally up to 2x faster. gcc/ada/ * libgnat/s-imageb.adb (Set_Image_Based_Unsigned): Rewritten. * libgnat/s-imagew.adb (Set_Image_Width_Unsigned): Likewise.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions