Access the |X86ISA|::|RES1| field of a ia32_eferbits bit structure.
(ia32_eferbits->res1 x) → res1
Function:
(defun ia32_eferbits->res1$inline (x) (declare (xargs :guard (ia32_eferbits-p x))) (mbe :logic (let ((x (ia32_eferbits-fix x))) (part-select x :low 1 :width 7)) :exec (the (unsigned-byte 7) (logand (the (unsigned-byte 7) 127) (the (unsigned-byte 11) (ash (the (unsigned-byte 12) x) -1))))))
Theorem:
(defthm 7bits-p-of-ia32_eferbits->res1 (b* ((res1 (ia32_eferbits->res1$inline x))) (7bits-p res1)) :rule-classes :rewrite)
Theorem:
(defthm ia32_eferbits->res1$inline-of-ia32_eferbits-fix-x (equal (ia32_eferbits->res1$inline (ia32_eferbits-fix x)) (ia32_eferbits->res1$inline x)))
Theorem:
(defthm ia32_eferbits->res1$inline-ia32_eferbits-equiv-congruence-on-x (implies (ia32_eferbits-equiv x x-equiv) (equal (ia32_eferbits->res1$inline x) (ia32_eferbits->res1$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm ia32_eferbits->res1-of-ia32_eferbits (equal (ia32_eferbits->res1 (ia32_eferbits sce res1 lme res2 lma nxe)) (7bits-fix res1)))
Theorem:
(defthm ia32_eferbits->res1-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps x ia32_eferbits-equiv-under-mask) (ia32_eferbits-equiv-under-mask x y fty::mask) (equal (logand (lognot fty::mask) 254) 0)) (equal (ia32_eferbits->res1 x) (ia32_eferbits->res1 y))))