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