|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v2 0/5] target/mips: Replace TARGET_WORDS_BIGENDIAN by cpu_is_bigendian() |
Date: | Sat, 21 Aug 2021 19:27:25 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/18/21 11:55 PM, Philippe Mathieu-Daudé wrote: > MIPS CPU store its endianess in the CP0 Config0 register. > Use that runtime information instead of #ifdef'ry checking > TARGET_WORDS_BIGENDIAN by introducing the cpu_is_bigendian() > helper. > > Philippe Mathieu-Daudé (5): > target/mips: Call cpu_is_bigendian & inline GET_OFFSET in ld/st > helpers > target/mips: Replace GET_LMASK() macro by get_lmask(32) function > target/mips: Replace GET_LMASK64() macro by get_lmask(64) function > target/mips: Store CP0_Config0 in DisasContext > target/mips: Replace TARGET_WORDS_BIGENDIAN by cpu_is_bigendian() Thanks, applied to mips-next.
[Prev in Thread] | Current Thread | [Next in Thread] |