target/sparc: Use explicit big-endian LD/ST API
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 9 repliesIn review
- v39 patches 20 repliesSuperseded
- v29 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 6 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- Centralize sign-extension (clearly out of my comfort zone)
- Remove bswap in LD_code()
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | qemu/int128: Add int128_signextend()include/ tests/ | +32 | 3 replies | |
| 2/5 | accel/tcg: Have cpu_ld*_mmu() methods consider the MO_SIGN flagaccel/ target/ | +31 | 2 replies | |
| 3/5 | target/sparc: Remove dubious swapping in LD_code() helpertarget/ | +0 | 2 replies | |
| 4/5 | target/sparc: Replace MO_TE -> MO_BEtarget/ | +29 | 1 reply | |
| 5/5 | configs/targets: Forbid SPARC to use legacy native endianness APIsconfigs/ configs/ configs/ +2 more | +5 | 1 reply |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Manos Pitsidianakis | Richard Henderson |
|---|---|---|
| 1/5 | ||
| 2/5 | ||
| 3/5 | R-b | |
| 4/5 | R-b | R-b |
| 5/5 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/5] target/sparc: Use explicit big-endian LD/ST API
v4:
- Centralize sign-extension (clearly out of my comfort zone)
- Remove bswap in LD_code()
SPARC is big-endian. Use the explicit 'big'
endianness instead of the 'native' one.
Forbid further uses of legacy APIs.
Philippe Mathieu-Daudé (5):
qemu/int128: Add int128_signextend()
accel/tcg: Have cpu_ld*_mmu() methods consider the MO_SIGN flag target/sparc: Remove dubious swapping in LD_code() helper target/sparc: Replace MO_TE -> MO_BE
configs/targets: Forbid SPARC to use legacy native endianness APIs
configs/targets/sparc-linux-user.mak | 1 + configs/targets/sparc-softmmu.mak | 1 + configs/targets/sparc32plus-linux-user.mak | 1 + configs/targets/sparc64-linux-user.mak | 1 + configs/targets/sparc64-softmmu.mak | 1 + include/qemu/int128.h | 10 ++++ accel/tcg/cputlb.c | 37 +++++++++++--- target/sparc/ldst_helper.c | 18 ------- target/sparc/translate.c | 58 +++++++++++----------- tests/unit/test-int128.c | 22 ++++++++ 10 files changed, 97 insertions(+), 53 deletions(-)
Signature · 1 line
2.52.0