qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 3/4] tcg: Mask shift counts to avoid undefine


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2 3/4] tcg: Mask shift counts to avoid undefined behavior
Date: Wed, 19 Mar 2014 08:25:23 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 03/18/2014 11:21 PM, Stefan Weil wrote:
> Are there test cases which fail with the old code?

Only when running under analysis tools looking for technical violations of the
standard.  Under normal circumstances it would never crash since, as with the
native backends, the underlying cpu is going to treat this some rational way.

But I sincerely doubt that we could measure any performance loss in TCI.  The
single extra arithmetic operation should be swallowed by the loop back to
interpret the next opcode.


r~



reply via email to

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