qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH]: fix alpha cmovxx instruction


From: Tristan Gingold
Subject: [Qemu-devel] [PATCH]: fix alpha cmovxx instruction
Date: Fri, 5 Sep 2008 17:20:46 +0200

Hi,

The CMOV instruction is defined by the alpha manual as:

CMOVxx Ra.rq,Rb.rq,Rc.wq !Operate format
CMOVxx Ra.rq,#b.ib,Rc.wq !Operate format

Operation:
IF TEST(Rav, Condition_based_on_Opcode) THEN
Rc ← Rbv

The current qemu behavior inverses Ra and Rb. This is fixed by this patch.

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

Attachment: q-alpha2.diff
Description: Binary data


reply via email to

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