Access the |X86ISA|::|MMM| field of a evex-byte1 bit structure.
(evex-byte1->mmm byte1) → mmm
Function:
(defun evex-byte1->mmm$inline (byte1) (declare (xargs :guard (evex-byte1-p byte1))) (mbe :logic (let ((byte1 (evex-byte1-fix byte1))) (part-select byte1 :low 0 :width 3)) :exec (the (unsigned-byte 3) (logand (the (unsigned-byte 3) 7) (the (unsigned-byte 8) byte1)))))
Theorem:
(defthm 3bits-p-of-evex-byte1->mmm (b* ((mmm (evex-byte1->mmm$inline byte1))) (3bits-p mmm)) :rule-classes :rewrite)
Theorem:
(defthm evex-byte1->mmm$inline-of-evex-byte1-fix-byte1 (equal (evex-byte1->mmm$inline (evex-byte1-fix byte1)) (evex-byte1->mmm$inline byte1)))
Theorem:
(defthm evex-byte1->mmm$inline-evex-byte1-equiv-congruence-on-byte1 (implies (evex-byte1-equiv byte1 byte1-equiv) (equal (evex-byte1->mmm$inline byte1) (evex-byte1->mmm$inline byte1-equiv))) :rule-classes :congruence)
Theorem:
(defthm evex-byte1->mmm-of-evex-byte1 (equal (evex-byte1->mmm (evex-byte1 mmm res r-prime b x r)) (3bits-fix mmm)))
Theorem:
(defthm evex-byte1->mmm-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps byte1 evex-byte1-equiv-under-mask) (evex-byte1-equiv-under-mask byte1 y fty::mask) (equal (logand (lognot fty::mask) 7) 0)) (equal (evex-byte1->mmm byte1) (evex-byte1->mmm y))))