Access the |X86ISA|::|PDPT| field of a ia32e-pml4ebits bit structure.
(ia32e-pml4ebits->pdpt x) → pdpt
Function:
(defun ia32e-pml4ebits->pdpt$inline (x) (declare (xargs :guard (ia32e-pml4ebits-p x))) (mbe :logic (let ((x (ia32e-pml4ebits-fix x))) (part-select x :low 12 :width 40)) :exec (the (unsigned-byte 40) (logand (the (unsigned-byte 40) 1099511627775) (the (unsigned-byte 52) (ash (the (unsigned-byte 64) x) -12))))))
Theorem:
(defthm 40bits-p-of-ia32e-pml4ebits->pdpt (b* ((pdpt (ia32e-pml4ebits->pdpt$inline x))) (40bits-p pdpt)) :rule-classes :rewrite)
Theorem:
(defthm ia32e-pml4ebits->pdpt$inline-of-ia32e-pml4ebits-fix-x (equal (ia32e-pml4ebits->pdpt$inline (ia32e-pml4ebits-fix x)) (ia32e-pml4ebits->pdpt$inline x)))
Theorem:
(defthm ia32e-pml4ebits->pdpt$inline-ia32e-pml4ebits-equiv-congruence-on-x (implies (ia32e-pml4ebits-equiv x x-equiv) (equal (ia32e-pml4ebits->pdpt$inline x) (ia32e-pml4ebits->pdpt$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm ia32e-pml4ebits->pdpt-of-ia32e-pml4ebits (equal (ia32e-pml4ebits->pdpt (ia32e-pml4ebits p r/w u/s pwt pcd a res1 ps res2 pdpt res3 xd)) (40bits-fix pdpt)))
Theorem:
(defthm ia32e-pml4ebits->pdpt-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps x ia32e-pml4ebits-equiv-under-mask) (ia32e-pml4ebits-equiv-under-mask x y fty::mask) (equal (logand (lognot fty::mask) 4503599627366400) 0)) (equal (ia32e-pml4ebits->pdpt x) (ia32e-pml4ebits->pdpt y))))