Access the |X86ISA|::|RES1| field of a ia32e-page-tablesbits bit structure.
(ia32e-page-tablesbits->res1 x) → res1
Function:
(defun ia32e-page-tablesbits->res1$inline (x) (declare (xargs :guard (ia32e-page-tablesbits-p x))) (mbe :logic (let ((x (ia32e-page-tablesbits-fix x))) (part-select x :low 8 :width 4)) :exec (the (unsigned-byte 4) (logand (the (unsigned-byte 4) 15) (the (unsigned-byte 56) (ash (the (unsigned-byte 64) x) -8))))))
Theorem:
(defthm 4bits-p-of-ia32e-page-tablesbits->res1 (b* ((res1 (ia32e-page-tablesbits->res1$inline x))) (4bits-p res1)) :rule-classes :rewrite)
Theorem:
(defthm ia32e-page-tablesbits->res1$inline-of-ia32e-page-tablesbits-fix-x (equal (ia32e-page-tablesbits->res1$inline (ia32e-page-tablesbits-fix x)) (ia32e-page-tablesbits->res1$inline x)))
Theorem:
(defthm ia32e-page-tablesbits->res1$inline-ia32e-page-tablesbits-equiv-congruence-on-x (implies (ia32e-page-tablesbits-equiv x x-equiv) (equal (ia32e-page-tablesbits->res1$inline x) (ia32e-page-tablesbits->res1$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm ia32e-page-tablesbits->res1-of-ia32e-page-tablesbits (equal (ia32e-page-tablesbits->res1 (ia32e-page-tablesbits p r/w u/s pwt pcd a d ps res1 reference-addr res2 xd)) (4bits-fix res1)))
Theorem:
(defthm ia32e-page-tablesbits->res1-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps x ia32e-page-tablesbits-equiv-under-mask) (ia32e-page-tablesbits-equiv-under-mask x y fty::mask) (equal (logand (lognot fty::mask) 3840) 0)) (equal (ia32e-page-tablesbits->res1 x) (ia32e-page-tablesbits->res1 y))))