Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/sh3/sh3
Module Name: src
Committed By: rin
Date: Sat Sep 18 06:31:46 UTC 2021
Modified Files:
src/sys/arch/sh3/sh3: cpu_in_cksum.S
Log Message:
cksum128mod: Prepare jump address by 'mova', instead of 'mov.l'.
Since both this 'mova' and 'and #imm' above must be used against r0,
we need extra 'mov r0, r3'. However, this should still be good both for
sh3 and sh4:
- For sh3, 'mov.l' at odd half-word address is removed; pipeline hazard
due to instruction fetch is resolved.
- For sh4, data cache line is no longer assigned for this 'mov.l'.
Also:
- Upcoming __PIC__ support (in order to avoid text relocations when built
in tests/net/in_cksum) becomes simpler; no need CALL_DATUM_LOCAL() for
cksum128_tail.
- Shave off 4 bytes from text.
No regression is observed for sh3 (hpcsh) and sh4 (landisk).
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/sh3/sh3/cpu_in_cksum.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index