diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-11-19 15:35:35 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-12-14 10:51:52 -0500 |
commit | f3dd0581a51be1e4354bdcf23f1eee7f5c707a3a (patch) | |
tree | 4ff2a0588200a32fe7e68f97b7769bb10835a810 /gcc/gcov.c | |
parent | 3cde9f1cc56d7039f44d3cd4f4ebebd02815b8a9 (diff) | |
download | gcc-f3dd0581a51be1e4354bdcf23f1eee7f5c707a3a.zip gcc-f3dd0581a51be1e4354bdcf23f1eee7f5c707a3a.tar.gz gcc-f3dd0581a51be1e4354bdcf23f1eee7f5c707a3a.tar.bz2 |
[Ada] Implement part of System.Fat_Gen more efficiently
gcc/ada/
* libgnat/s-fatgen.ads (Compose): Add pragma Inline.
(Copy_Sign): Likewise.
(Exponent): Likewise.
(Fraction): Likewise.
* libgnat/s-fatgen.adb: Remove with clause for System, add
with and use clauses for System.Unsigned_Types.
Add pragma Warnings (Off) for non-static constants.
Remove precomputed tables of powers of radix and add a few
constants describing the floating-point format.
(Gradual_Scaling): Delete.
(Copy_Sign): Reimplement directly.
(Decompose): Likewise.
(Scaling): Likewise.
(Pred): Speed up.
(Succ): Likewise.
(Truncation): Tidy up.
(Valid): Move constants to library level.
Diffstat (limited to 'gcc/gcov.c')
0 files changed, 0 insertions, 0 deletions