128-bit arithmetic for the memory API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Add support for 128-bit arithmeticint128.h | +116 | 0 replies | |
| 2/2 | memory: use 128-bit integers for sizes and intermediatesmemory.c memory.h | +115 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [RFC128 0/2] 128-bit arithmetic for the memory API
In order to solve the recurring overflow issues with the memory API, introduce a 128-bit integer type to hold sizes (range 0 - 2^64) and intermediates. While the patchset does reduce readability, I believe it is the only way to prevent overflows emerging in unlikely places in the code.
Avi Kivity (2):
Add support for 128-bit arithmetic
memory: use 128-bit integers for sizes and intermediates
int128.h | 116 +++++++++++++++++++++++++++++++++++++ memory.c | 193 ++++++++++++++++++++++++++++++++++++-------------------------- memory.h | 3 +- 3 files changed, 231 insertions(+), 81 deletions(-) create mode 100644 int128.h
Signature · 1 line
1.7.6.3