[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Raspbian in QEMU
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] Raspbian in QEMU |
Date: |
Wed, 12 Mar 2014 19:56:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Am 12.03.2014 19:05, schrieb Peter Hanzel:
> Thanks.
>
> Now it makes sense. Also google now works and led me to
> https://github.com/bavison/arm-mem.
> And there is SETEND used.
>
It might be possible to handle that special case in QEMU without
implementing setend:
That instruction is only used in the implementation of function memcmp.
When TCG detects a setend instruction, it could check whether the
surrounding code has the signature of that memcmp implementation and add
code which calls a memcmp helper function. The setend instruction and
all the following code of memcmp would be handled as if it were a single
special multi byte machine instruction.
Is that special accelerated implementation of memcmp used in lots of ARM
systems, or is it only used for Raspberry PI? From the copyright in
memcpy.S I'd guess that it is RPi specific, so maybe the need for a QEMU
hack is not urgent enough.
Stefan
PS. Link to previous discussion on setend:
https://lists.gnu.org/archive/html/qemu-trivial/2013-08/msg00086.html
I cc Richard because he was / is involved, too.
- [Qemu-devel] Raspbian in QEMU, Peter Hanzel, 2014/03/12
- Re: [Qemu-devel] Raspbian in QEMU, Peter Maydell, 2014/03/12
- Re: [Qemu-devel] Raspbian in QEMU, Peter Hanzel, 2014/03/12
- Re: [Qemu-devel] Raspbian in QEMU,
Stefan Weil <=
- Re: [Qemu-devel] Raspbian in QEMU, Richard Henderson, 2014/03/12
- Re: [Qemu-devel] Raspbian in QEMU, Peter Maydell, 2014/03/12
- Re: [Qemu-devel] Raspbian in QEMU, Paolo Bonzini, 2014/03/20
- Re: [Qemu-devel] Raspbian in QEMU, François Revol, 2014/03/20
- Re: [Qemu-devel] Raspbian in QEMU, Paolo Bonzini, 2014/03/20