qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] target-mips: apply workaround for TCG optimizat


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] target-mips: apply workaround for TCG optimizations for MFC1
Date: Wed, 15 Jul 2015 11:02:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1

On 07/15/2015 09:06 AM, Aurelien Jarno wrote:
On 2015-07-15 09:31, Paolo Bonzini wrote:
Ok, I see your point.  If you put it like this :) the fault definitely
lies in the backends.  What I'm proposing would be in a new
tcg_reg_alloc_trunc function, and it would require implementing a
non-noop trunc.

Why not reusing the existing trunc_shr_i64_i32 op? AFAIU, it has been
designed exactly for that.

Indeed.

Actually I think we should implement the following ops as optional but
*real* TCG ops:
- trunc_shr_i64_i32
- extu_i32_i64
- ext_i32_i64

While we could perhaps gain something from the last two, reliably using the first is probably the most important.

I've been unable to reproduce the binary in question. I'm curious if something as simple as this helps. Alternately, the two hunks might just cancel each other out and result in no change.


r~

Attachment: z
Description: Text document


reply via email to

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