qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3] RISC-V: Fix riscv_isa_string memory size bug


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v3] RISC-V: Fix riscv_isa_string memory size bug
Date: Tue, 20 Mar 2018 12:43:04 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 03/20/2018 02:35 AM, Michael Clark wrote:
> FYI - I also have an experimental branch containing a RISC-V TCG back-end
> that I started on during the RISC-V Hackathon in Portland last week:
> 
> - https://github.com/michaeljclark/riscv-qemu/tree/wip-riscv-tcg-backend

Cool.

> I'm able to run a very simple x86_64 hello world program on RISC-V,
> avoiding all of the usual libc startup. However, it may be some time before
> I submit a patch series for this branch. So far the RISC-V TCG backend
> doesn't implement softmmu, have bigendian byteswapping in its load/store
> implementation ...

Before you work too hard on this last, ping me.  I've been intending to change
TCG such that hosts that do not support byte-swapping memory operations do not
need to handle them specially.  Instead, we'd expand a "normal" byte swap from
a temporary after a load (and similarly before a store).

I expect this to improve the state of affairs for i386 (without movbe), where
we are currently extremely limited in the available registers.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]