[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 10:45:43 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
On 08/28/2013 10:28 AM, Peter Maydell wrote:
> Well, what do ldl_p or ldl_phys or any of the other functions
> without an le/be qualifier mean any more if "is this CPU in
> big endian mode?" now requires you to have a CPUState
> to ask? I guess we can tackle that separately from getting
> the assumptions on endianness out of the tcg backends
> though.
ldl_p is the host native endian unaligned load primitive.
ldl_phys is the one that'll need to be adjusted or eliminated.
>From a quick glance, this doesn't look too bad. Most of the uses are in the
target-* directories already, and mostly for emulating page tables. Those
should be trivial to adjust as needed.
The troublesome offender appears to be virtio. I know some discussion of
cleaning that up has happened in the context of LE PowerPC, but I didn't really
follow what went on there.
r~
- [Qemu-devel] [PATCH] target-arm: Report unimplemented opcodes (LOG_UNIMP), Stefan Weil, 2013/08/28
- Re: [Qemu-devel] [PATCH] target-arm: Report unimplemented opcodes (LOG_UNIMP), Peter Maydell, 2013/08/28
- 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 <=
- 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, 2013/08/28