On 20/5/26 12:17, Philippe Mathieu-Daudé wrote:
From: Richard Henderson <[email protected]>
Add a helper for multi-limb 64-bit addition. The helper emits native
carry-chain TCG ops when they are available and falls back to explicit
carry propagation otherwise.
This lets target translators build wider integer accumulators inline
without open-coding the same add-with-carry sequence at each use site.
Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
include/tcg/tcg-op-common.h | 1 +
tcg/tcg-op.c | 42 +++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>