Access the |X86ISA|::|OE| field of a mxcsrbits bit structure.
(mxcsrbits->oe x) → oe
Function:
(defun mxcsrbits->oe$inline (x) (declare (xargs :guard (mxcsrbits-p x))) (mbe :logic (let ((x (mxcsrbits-fix x))) (part-select x :low 3 :width 1)) :exec (the (unsigned-byte 1) (logand (the (unsigned-byte 1) 1) (the (unsigned-byte 29) (ash (the (unsigned-byte 32) x) -3))))))
Theorem:
(defthm bitp-of-mxcsrbits->oe (b* ((oe (mxcsrbits->oe$inline x))) (bitp oe)) :rule-classes :rewrite)
Theorem:
(defthm mxcsrbits->oe$inline-of-mxcsrbits-fix-x (equal (mxcsrbits->oe$inline (mxcsrbits-fix x)) (mxcsrbits->oe$inline x)))
Theorem:
(defthm mxcsrbits->oe$inline-mxcsrbits-equiv-congruence-on-x (implies (mxcsrbits-equiv x x-equiv) (equal (mxcsrbits->oe$inline x) (mxcsrbits->oe$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm mxcsrbits->oe-of-mxcsrbits (equal (mxcsrbits->oe (mxcsrbits ie de ze oe ue pe daz im dm zm om um pm rc ftz reserved)) (bfix oe)))
Theorem:
(defthm mxcsrbits->oe-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) 8) 0)) (equal (mxcsrbits->oe x) (mxcsrbits->oe y))))