diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2023-02-10 12:52:24 +0100 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2023-04-18 09:43:49 +0200 |
commit | 5baf2cccd0345a7ac3d4467343414f8b7ff1724b (patch) | |
tree | 048b9af6b6c3f5e92f9b7c19d223b99b35b6dee1 /libgo | |
parent | 603fc926fee69ab3c7169af8a9c0918611a75d92 (diff) | |
download | gcc-5baf2cccd0345a7ac3d4467343414f8b7ff1724b.zip gcc-5baf2cccd0345a7ac3d4467343414f8b7ff1724b.tar.gz gcc-5baf2cccd0345a7ac3d4467343414f8b7ff1724b.tar.bz2 |
Abstract out calculation of max HWIs per wide int.
I'm about to add one more use of the same snippet of code, for a total
of 4 identical calculations in the code base.
gcc/ChangeLog:
* wide-int.h (WIDE_INT_MAX_HWIS): New.
(class fixed_wide_int_storage): Use it.
(trailing_wide_ints <N>::set_precision): Use it.
(trailing_wide_ints <N>::extra_size): Use it.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions