tcg/arm: fix division
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tcg: add div/rem 32-bit helperstcg-runtime.c tcg/ tcg/ +4 more | +89 | 0 replies | |
| 2/3 | tcg/arm: use helpers for divu/remutcg/ tcg/ | +0 | 0 replies | |
| 3/3 | tcg: declare internal helpers as const and puretcg/ | +4 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/3] tcg/arm: fix division
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.