On 20/03/2014 13:36, Paolo Bonzini wrote: > Il 12/03/2014 21:01, Peter Maydell ha scritto: >> On 12 March 2014 19:41, Richard Henderson <r...@twiddle.net> wrote: >>> Ew. No. It would be easier to just implement setend, even if badly. >> >> Agreed. >> >>> For my part, the endian-aware load/store opcodes I alluded to last >>> August are now in. >> >> Yes, it would be fairly straightforward to implement setend now. >> I haven't actually looked at it, though, because the only thing that >> uses it is this raspi memcmp code, and there's a workaround >> for that. So other things have been higher priority. > > I looked at that yesterday and it took me exactly one hour... I'll > submit it for 2.1 since I'm interested (for non-work reasons) in > Raspberry Pi emulation.
Just so you don't start rewriting the wheel: https://github.com/Torlus/qemu/tree/rpi I'm not sure how far he went yet though. François.