diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-01-10 18:01:01 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-06 16:19:35 -0300 |
commit | be836d9153eb6c1203c6659befb38427514eb349 (patch) | |
tree | ec19a5567ac1c36199691f13ca654bd940921500 /wcsmbs/tst-wcrtomb.c | |
parent | 167f6230af97690985ccbc9b3026a7c32ec2d6e9 (diff) | |
download | glibc-be836d9153eb6c1203c6659befb38427514eb349.zip glibc-be836d9153eb6c1203c6659befb38427514eb349.tar.gz glibc-be836d9153eb6c1203c6659befb38427514eb349.tar.bz2 |
hppa: Add memcopy.h
GCC's combine pass cannot merge (x >> c | y << (32 - c)) into a
double-word shift unless (1) the subtract is in the same basic block
and (2) the result of the subtract is used exactly once. Neither
condition is true for any use of MERGE.
By forcing the use of a double-word shift, we not only reduce
contention on SAR, but also allow the setting of SAR to be hoisted
outside of a loop.
Checked on hppa-linux-gnu.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'wcsmbs/tst-wcrtomb.c')
0 files changed, 0 insertions, 0 deletions