summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2022-06-02 00:32:14 +0000
committerrin <rin@NetBSD.org>2022-06-02 00:32:14 +0000
commit2806888e7c78f82f09b8f6fced29bfcdaee7c7bb (patch)
tree292996c2d614ae90bce026cfbe7be9ac3c87efc3 /sys/dev
parent92b19a2762ae63d2426e24c8cc645983d05e3882 (diff)
As a tiny optimization, rearrange cases as follows:
(1) load/store of format D (base + disp) (2) load/store of format X (base + index) (3) lmw and stmw For clang-compiled userland (*), their frequencies are roughly, (1) > (2) >> (3) ~ 0. Improvement should be minor; we are already trapped in the alignment fault handler. (*) clang unconditionally emits unaligned memory access for powerpc. Undocumented -disable-ppc-unaligned option does not work...
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions