Get the evex field from a opcode.
(opcode->evex x) → evex
This is an ordinary field accessor created by defprod.
Function:
(defun opcode->evex$inline (x) (declare (xargs :guard (opcode-p x))) (declare (xargs :guard t)) (let ((__function__ 'opcode->evex)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (maybe-evex-fix (std::prod-cdr (std::prod-cdr (std::prod-car (std::prod-cdr x)))))) :exec (std::prod-cdr (std::prod-cdr (std::prod-car (std::prod-cdr x)))))))
Theorem:
(defthm maybe-evex-p-of-opcode->evex (b* ((evex (opcode->evex$inline x))) (maybe-evex-p evex)) :rule-classes :rewrite)
Theorem:
(defthm opcode->evex$inline-of-opcode-fix-x (equal (opcode->evex$inline (opcode-fix x)) (opcode->evex$inline x)))
Theorem:
(defthm opcode->evex$inline-opcode-equiv-congruence-on-x (implies (opcode-equiv x x-equiv) (equal (opcode->evex$inline x) (opcode->evex$inline x-equiv))) :rule-classes :congruence)