diff options
author | Willy Tarreau <w@1wt.eu> | 2022-02-07 17:23:37 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-20 17:05:44 -0700 |
commit | ac90226d53051c1ae0f0e1b71596fb038ddb6cf6 (patch) | |
tree | c1e367909f5e071d9bb4427ef39f6530f439260f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a7604ba149e76d0449484116e7bf9cd0c26dafb2 (diff) |
tools/nolibc/stdlib: avoid a 64-bit shift in u64toh_r()
The build of printf() on mips requires libgcc for functions __ashldi3 and
__lshrdi3 due to 64-bit shifts when scanning the input number. These are
not really needed in fact since we scan the number 4 bits at a time. Let's
arrange the loop to perform two 32-bit shifts instead on 32-bit platforms.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions