Access the |X86ISA|::|TILEDATA-STATE| field of a xcr0bits bit structure.
(xcr0bits->tiledata-state x) → tiledata-state
Function:
(defun xcr0bits->tiledata-state$inline (x) (declare (xargs :guard (xcr0bits-p x))) (mbe :logic (let ((x (xcr0bits-fix x))) (part-select x :low 18 :width 1)) :exec (the (unsigned-byte 1) (logand (the (unsigned-byte 1) 1) (the (unsigned-byte 46) (ash (the (unsigned-byte 64) x) -18))))))
Theorem:
(defthm bitp-of-xcr0bits->tiledata-state (b* ((tiledata-state (xcr0bits->tiledata-state$inline x))) (bitp tiledata-state)) :rule-classes :rewrite)
Theorem:
(defthm xcr0bits->tiledata-state$inline-of-xcr0bits-fix-x (equal (xcr0bits->tiledata-state$inline (xcr0bits-fix x)) (xcr0bits->tiledata-state$inline x)))
Theorem:
(defthm xcr0bits->tiledata-state$inline-xcr0bits-equiv-congruence-on-x (implies (xcr0bits-equiv x x-equiv) (equal (xcr0bits->tiledata-state$inline x) (xcr0bits->tiledata-state$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm xcr0bits->tiledata-state-of-xcr0bits (equal (xcr0bits->tiledata-state (xcr0bits fpu/mmx-state sse-state avx-state bndreg-state bndcsr-state opmask-state zmm_hi256-state hi16_zmm-state res1 pkru-state res2 tileconfig-state tiledata-state res4)) (bfix tiledata-state)))
Theorem:
(defthm xcr0bits->tiledata-state-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps x xcr0bits-equiv-under-mask) (xcr0bits-equiv-under-mask x y fty::mask) (equal (logand (lognot fty::mask) 262144) 0)) (equal (xcr0bits->tiledata-state x) (xcr0bits->tiledata-state y))))