Access the |X86ISA|::|SCE| field of a ia32_eferbits bit structure.
(ia32_eferbits->sce x) → sce
Function:
(defun ia32_eferbits->sce$inline (x) (declare (xargs :guard (ia32_eferbits-p x))) (mbe :logic (let ((x (ia32_eferbits-fix x))) (part-select x :low 0 :width 1)) :exec (the (unsigned-byte 1) (logand (the (unsigned-byte 1) 1) (the (unsigned-byte 12) x)))))
Theorem:
(defthm bitp-of-ia32_eferbits->sce (b* ((sce (ia32_eferbits->sce$inline x))) (bitp sce)) :rule-classes :rewrite)
Theorem:
(defthm ia32_eferbits->sce$inline-of-ia32_eferbits-fix-x (equal (ia32_eferbits->sce$inline (ia32_eferbits-fix x)) (ia32_eferbits->sce$inline x)))
Theorem:
(defthm ia32_eferbits->sce$inline-ia32_eferbits-equiv-congruence-on-x (implies (ia32_eferbits-equiv x x-equiv) (equal (ia32_eferbits->sce$inline x) (ia32_eferbits->sce$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm ia32_eferbits->sce-of-ia32_eferbits (equal (ia32_eferbits->sce (ia32_eferbits sce res1 lme res2 lma nxe)) (bfix sce)))
Theorem:
(defthm ia32_eferbits->sce-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) 1) 0)) (equal (ia32_eferbits->sce x) (ia32_eferbits->sce y))))