Read from doubleword general-purpose registers
(rr32 reg x86) → *
Function:
(defun rr32$inline (reg x86) (declare (xargs :stobjs (x86))) (declare (type (unsigned-byte 4) reg)) (n32 (the (signed-byte 64) (rgfi reg x86))))
Theorem:
(defthm n32p-rr32 (unsigned-byte-p 32 (rr32 reg x86)) :rule-classes (:rewrite (:type-prescription :corollary (natp (rr32 reg x86)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p natp)))) (:linear :corollary (and (<= 0 (rr32 reg x86)) (< (rr32 reg x86) 4294967296)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p (:e expt)))))))