Access the |X86ISA|::|PM| field of a mxcsrbits bit structure.
(mxcsrbits->pm x) → pm
Function:
(defun mxcsrbits->pm$inline (x) (declare (xargs :guard (mxcsrbits-p x))) (mbe :logic (let ((x (mxcsrbits-fix x))) (part-select x :low 12 :width 1)) :exec (the (unsigned-byte 1) (logand (the (unsigned-byte 1) 1) (the (unsigned-byte 20) (ash (the (unsigned-byte 32) x) -12))))))
Theorem:
(defthm bitp-of-mxcsrbits->pm (b* ((pm (mxcsrbits->pm$inline x))) (bitp pm)) :rule-classes :rewrite)
Theorem:
(defthm mxcsrbits->pm$inline-of-mxcsrbits-fix-x (equal (mxcsrbits->pm$inline (mxcsrbits-fix x)) (mxcsrbits->pm$inline x)))
Theorem:
(defthm mxcsrbits->pm$inline-mxcsrbits-equiv-congruence-on-x (implies (mxcsrbits-equiv x x-equiv) (equal (mxcsrbits->pm$inline x) (mxcsrbits->pm$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm mxcsrbits->pm-of-mxcsrbits (equal (mxcsrbits->pm (mxcsrbits ie de ze oe ue pe daz im dm zm om um pm rc ftz reserved)) (bfix pm)))
Theorem:
(defthm mxcsrbits->pm-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps x mxcsrbits-equiv-under-mask) (mxcsrbits-equiv-under-mask x y fty::mask) (equal (logand (lognot fty::mask) 4096) 0)) (equal (mxcsrbits->pm x) (mxcsrbits->pm y))))