On 10/23/2015 05:07 AM, Eduardo Habkost wrote:
On Thu, Oct 01, 2015 at 02:06:36PM -0300, Eduardo Habkost wrote:
On Thu, Oct 01, 2015 at 11:35:52AM +1000, Richard Henderson wrote:
On 09/30/2015 06:34 AM, Eduardo Habkost wrote:
Left shift of negative values is undefined behavior. Detected by cla
On Thu, Oct 01, 2015 at 02:06:36PM -0300, Eduardo Habkost wrote:
> On Thu, Oct 01, 2015 at 11:35:52AM +1000, Richard Henderson wrote:
> > On 09/30/2015 06:34 AM, Eduardo Habkost wrote:
> > >Left shift of negative values is undefined behavior. Detected by clang:
> > > qemu/target-i386/translate.c:
On Thu, Oct 01, 2015 at 11:35:52AM +1000, Richard Henderson wrote:
> On 09/30/2015 06:34 AM, Eduardo Habkost wrote:
> >Left shift of negative values is undefined behavior. Detected by clang:
> > qemu/target-i386/translate.c:2423:26: runtime error:
> > left shift of negative value -8
> >
> >Th
On 09/30/2015 06:34 AM, Eduardo Habkost wrote:
Left shift of negative values is undefined behavior. Detected by clang:
qemu/target-i386/translate.c:2423:26: runtime error:
left shift of negative value -8
This changes the code to reverse the sign after the left shift.
Signed-off-by: Edua
Left shift of negative values is undefined behavior. Detected by clang:
qemu/target-i386/translate.c:2423:26: runtime error:
left shift of negative value -8
This changes the code to reverse the sign after the left shift.
Signed-off-by: Eduardo Habkost
---
target-i386/translate.c | 2 +-
1