« Previous | Next » 

Revision b7cd3db6

IDb7cd3db6f4d79f11abf0572fdc5e41d0811ea2e2

Added by Avi Kivity over 12 years ago

Add support for 128-bit arithmetic

The memory API supports 64-bit buses (e.g. PCI). A size on such a bus cannot
be represented with a 64-bit data type, if both 0 and the entire address
space size are to be represented. Futhermore, any address arithemetic may
overflow and return unexpected results.

Introduce a 128-bit signed integer type for use in such cases. Addition,
subtraction, and comparison are the only operations supported.

Signed-off-by: Avi Kivity <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences