qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] alpha: fix lit sign


From: Tristan Gingold
Subject: Re: [Qemu-devel] [PATCH] alpha: fix lit sign
Date: Wed, 10 Sep 2008 09:57:30 +0200


On Sep 8, 2008, at 12:35 PM, Tristan Gingold wrote:

Hi,

according to the alpha arch reference, the literal field of an operate instruction is unsigned:

If bit <12> of the instruction is 1, an 8-bit zero-extended literal constant is formed by bits <20:13> of the instruction. The l teral is interpreted as a positive integer bet ween 0 and 255
and is zero-extended to 64 bits.

This patch fixes the mis-interpretation of the literal field.

Just in case:

Signed-off-by: Tristan Gingold <address@hidden>


Tristan.

<q-alpha3.diff>





reply via email to

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