Access the |X86ISA|::|PD| field of a ia32e-pdpte-pg-dirbits bit structure.
(ia32e-pdpte-pg-dirbits->pd x) → pd
Function:
(defun ia32e-pdpte-pg-dirbits->pd$inline (x) (declare (xargs :guard (ia32e-pdpte-pg-dirbits-p x))) (mbe :logic (let ((x (ia32e-pdpte-pg-dirbits-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-pdpte-pg-dirbits->pd (b* ((pd (ia32e-pdpte-pg-dirbits->pd$inline x))) (40bits-p pd)) :rule-classes :rewrite)
Theorem:
(defthm ia32e-pdpte-pg-dirbits->pd$inline-of-ia32e-pdpte-pg-dirbits-fix-x (equal (ia32e-pdpte-pg-dirbits->pd$inline (ia32e-pdpte-pg-dirbits-fix x)) (ia32e-pdpte-pg-dirbits->pd$inline x)))
Theorem:
(defthm ia32e-pdpte-pg-dirbits->pd$inline-ia32e-pdpte-pg-dirbits-equiv-congruence-on-x (implies (ia32e-pdpte-pg-dirbits-equiv x x-equiv) (equal (ia32e-pdpte-pg-dirbits->pd$inline x) (ia32e-pdpte-pg-dirbits->pd$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm ia32e-pdpte-pg-dirbits->pd-of-ia32e-pdpte-pg-dirbits (equal (ia32e-pdpte-pg-dirbits->pd (ia32e-pdpte-pg-dirbits p r/w u/s pwt pcd a res1 ps res2 pd res3 xd)) (40bits-fix pd)))
Theorem:
(defthm ia32e-pdpte-pg-dirbits->pd-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps x ia32e-pdpte-pg-dirbits-equiv-under-mask) (ia32e-pdpte-pg-dirbits-equiv-under-mask x y fty::mask) (equal (logand (lognot fty::mask) 4503599627366400) 0)) (equal (ia32e-pdpte-pg-dirbits->pd x) (ia32e-pdpte-pg-dirbits->pd y))))