Access the |X86ISA|::|PCD| field of a ia32e-page-tablesbits bit structure.
(ia32e-page-tablesbits->pcd x) → pcd
Function:
(defun ia32e-page-tablesbits->pcd$inline (x) (declare (xargs :guard (ia32e-page-tablesbits-p x))) (mbe :logic (let ((x (ia32e-page-tablesbits-fix x))) (part-select x :low 4 :width 1)) :exec (the (unsigned-byte 1) (logand (the (unsigned-byte 1) 1) (the (unsigned-byte 60) (ash (the (unsigned-byte 64) x) -4))))))
Theorem:
(defthm bitp-of-ia32e-page-tablesbits->pcd (b* ((pcd (ia32e-page-tablesbits->pcd$inline x))) (bitp pcd)) :rule-classes :rewrite)
Theorem:
(defthm ia32e-page-tablesbits->pcd$inline-of-ia32e-page-tablesbits-fix-x (equal (ia32e-page-tablesbits->pcd$inline (ia32e-page-tablesbits-fix x)) (ia32e-page-tablesbits->pcd$inline x)))
Theorem:
(defthm ia32e-page-tablesbits->pcd$inline-ia32e-page-tablesbits-equiv-congruence-on-x (implies (ia32e-page-tablesbits-equiv x x-equiv) (equal (ia32e-page-tablesbits->pcd$inline x) (ia32e-page-tablesbits->pcd$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm ia32e-page-tablesbits->pcd-of-ia32e-page-tablesbits (equal (ia32e-page-tablesbits->pcd (ia32e-page-tablesbits p r/w u/s pwt pcd a d ps res1 reference-addr res2 xd)) (bfix pcd)))
Theorem:
(defthm ia32e-page-tablesbits->pcd-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) 16) 0)) (equal (ia32e-page-tablesbits->pcd x) (ia32e-page-tablesbits->pcd y))))