Home
last modified time | relevance | path

Searched hist:"691 b35f3447f416eb6bb0b5afffda71f773945a8" (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/powerpc/include/
H A Dasm.hdiff 691b35f3447f416eb6bb0b5afffda71f773945a8 Thu Sep 10 20:41:15 CEST 2020 Brandon Bergren <bdragon@FreeBSD.org> [PowerPC64LE] Add LOAD_LR_NIA and RETURN_TO_NATIVE_ENDIAN defines.

* Add LOAD_LR_NIA define. This is preferred to "bl 1f; 1:" because it
doesn't pollute the branch predictor.

* Add magic sequence to return the CPU to the correct endianness after
jumping to cross-endian code, similar to the sequence from Linux.

Sponsored by: Tag1 Consulting, Inc.