Closed eth-arm closed 3 years ago
You are correct, if port to 32 bits is considered important, one may consider implementing the 'cap' field as int64. However, I am wondering what is the minimal size required for this field?
After asking @ambroise-arm, the Capability is bits 128 to 95 of a 129-bit register, which does not fit into an Int32
, so I think it should be Int64
.
Ok thanks, good to know.
The issue is hopefully closed by PR #179, which implements Morello capacities as OCaml int64
type.
Trying to build herdtools7 on a Raspberry Pi running Raspbian Buster 32-bit fails with:
This seems to be because the size of
int
is dependent on machine architecture, and the bit-manipulation insymbConstant.ml
assumes a 64-bit architecture.