aboutsummaryrefslogtreecommitdiff
path: root/zlib/configure
diff options
context:
space:
mode:
authorLuc Grosheintz <luc.grosheintz@gmail.com>2025-08-03 22:57:27 +0200
committerTomasz Kamiński <tkaminsk@redhat.com>2025-08-21 10:20:57 +0200
commit0197c3b15853de18d7bce386caed6f7fa792fb33 (patch)
tree23cfe97352fe0b25e9759ba22766369f19302238 /zlib/configure
parent5bcaee96c6c617ba031e0e71c4be2cc0cbd781d8 (diff)
downloadgcc-0197c3b15853de18d7bce386caed6f7fa792fb33.zip
gcc-0197c3b15853de18d7bce386caed6f7fa792fb33.tar.gz
gcc-0197c3b15853de18d7bce386caed6f7fa792fb33.tar.bz2
libstdc++: Improve nearly fully dynamic extents in mdspan.
One previous commit optimized fully dynamic extents; and another refactored __size such that __fwd_prod is valid for __r = 0, ..., rank (exclusive). Therefore, by noticing that __rev_prod (and __fwd_prod) never accesses the first (or last) extent, one can avoid pre-computing partial products of static extents in those cases, if all other extents are dynamic. We check that the size of the reference object file decreases further and the .rodata sections for __fwd_prod<dyn, ..., dyn, 11> __rev_prod<3, dyn, ..., dyn> are absent. libstdc++-v3/ChangeLog: * include/std/mdspan (__fwd_prods): Relax condition for fully-dynamic extents to cover (dyn, ..., dyn, X). (__rev_partial_prods): Analogous for (X, dyn, ..., dyn). Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com> Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
Diffstat (limited to 'zlib/configure')
0 files changed, 0 insertions, 0 deletions