[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG |
Date: |
Wed, 28 Aug 2013 14:23:02 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
On 08/28/2013 01:42 PM, Edgar E. Iglesias wrote:
> A question, some archs have an endian swap
> controlled via the MMU, e.g per page selectable (some PPC, microblaze and
> maybe others). AFAIK the behaviour is implementable in QEMU today but not
> very efficiently. Any thoughts/ideas on this?
The only thing I could imagine doing on a page-by-page basis like
this is to bring this feature into the qemu page table.
We'd have to hang it under the same general scheme as an IO access,
where all reads/writes to the page are forced through the helper.
I'd imagine that it would get handled similarly to io_mem_rom, but
with different accessors.
r~
- Re: [Qemu-devel] [PATCH] target-arm: Report unimplemented opcodes (LOG_UNIMP), (continued)
- Re: [Qemu-devel] [PATCH] target-arm: Report unimplemented opcodes (LOG_UNIMP), Richard Henderson, 2013/08/28
- Re: [Qemu-devel] [PATCH] target-arm: Report unimplemented opcodes (LOG_UNIMP), Peter Maydell, 2013/08/28
- [Qemu-devel] [RFC] Streamlining endian handling in TCG, Richard Henderson, 2013/08/28
- Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG, Peter Maydell, 2013/08/28
- Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG, Richard Henderson, 2013/08/28
- Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG, Peter Maydell, 2013/08/28
- Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG, Richard Henderson, 2013/08/28
- Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG, Stefan Weil, 2013/08/28
- Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG, Edgar E. Iglesias, 2013/08/28
- Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG, Peter Maydell, 2013/08/28
- Re: [Qemu-devel] [RFC] Streamlining endian handling in TCG,
Richard Henderson <=