qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/3] tcg/arm: fix division


From: Aurelien Jarno
Subject: [Qemu-devel] [PATCH 0/3] tcg/arm: fix division
Date: Thu, 4 Mar 2010 22:45:07 +0100

The division on TCG ARM is currently broken due to to wrong constraints:
"1" and "2" are interpreted as arguments aliasing instead of 
constraints.

This could obviously be fixed, but the division on TCG ARM becomes quite
complex: for no obvious reason div2/divu2 are implemented instead of 
div/divu/rem/remu for no obvious reason and the code actually calls the
64-bit helpers for a 32-bit division.

This patch series fixes that by allowing TCG targets to use helpers for
the division in addition to the two current implementations.





reply via email to

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