diff options
| author | David Faust <david.faust@oracle.com> | 2026-02-04 12:13:45 -0800 |
|---|---|---|
| committer | David Faust <david.faust@oracle.com> | 2026-02-09 11:47:49 -0800 |
| commit | d9ffd785f6eb8de3564189b74355c575479985e8 (patch) | |
| tree | e9467d511394e738e2db8c6c3395c513331c9910 /libjava/testsuite/libjava.compile/static_2.java | |
| parent | bf0fd736a96fc8560d44f808bb1c27c13e99fa78 (diff) | |
| download | gcc-d9ffd785f6eb8de3564189b74355c575479985e8.zip gcc-d9ffd785f6eb8de3564189b74355c575479985e8.tar.gz gcc-d9ffd785f6eb8de3564189b74355c575479985e8.tar.bz2 | |
bpf: set SLOW_BYTE_ACCESS to 0 [PR123556]
In general, BPF programs are JIT-ed to various architectures, and we
cannot say for certain what memory access patterns are preferable.
But it is clear that for the sake of the BPF verifier smaller loads are
to be preferred when possible, so set SLOW_BYTE_ACCESS to zero.
Tested on x86_64-linux-gnu host for bpf-unknown-none, no regressions.
Also tested against Linux kernel bpf-next selftests, no changes.
PR target/123556
gcc/
* config/bpf/bpf.h (SLOW_BYTE_ACCESS): Set to 0, update comment.
gcc/testsuite/
* gcc.target/bpf/pr123556.c: New test.
Diffstat (limited to 'libjava/testsuite/libjava.compile/static_2.java')
0 files changed, 0 insertions, 0 deletions
