Module Wordsize_Ptrofs.
Definition wordsize := if Archi.ptr64 then 64%nat else 32%nat.
Remark wordsize_not_zero: wordsize <> 0%nat.
Definition agree32 (a: Ptrofs.int) (b: Int.int) : Prop :=
Ptrofs.unsigned a = Int.unsigned b.

Lemma agree32_signed:
forall a b, agree32 a b -> Ptrofs.signed a = Int.signed b.