qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] tcg/arm: fix division
@ 2010-03-04 21:45 Aurelien Jarno
  2010-03-04 21:45 ` [Qemu-devel] [PATCH 1/3] tcg: add div/rem 32-bit helpers Aurelien Jarno
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Aurelien Jarno @ 2010-03-04 21:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: Andrzej Zaborowski

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-07 23:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-04 21:45 [Qemu-devel] [PATCH 0/3] tcg/arm: fix division Aurelien Jarno
2010-03-04 21:45 ` [Qemu-devel] [PATCH 1/3] tcg: add div/rem 32-bit helpers Aurelien Jarno
2010-03-04 21:45 ` [Qemu-devel] [PATCH 2/3] tcg/arm: use helpers for divu/remu Aurelien Jarno
2010-03-04 21:45 ` [Qemu-devel] [PATCH 3/3] tcg: declare internal helpers as const and pure Aurelien Jarno
2010-03-05 11:15   ` Paul Brook
2010-03-05 20:07     ` Aurelien Jarno
2010-03-07 22:39       ` Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).