Get the kind (tag) of a op-imms-32-funct structure.
(op-imms-32-funct-kind x) → kind
Function:
(defun op-imms-32-funct-kind$inline (x) (declare (xargs :guard (op-imms-32-funct-p x))) (let ((__function__ 'op-imms-32-funct-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :slliw)) :slliw) ((eq (car x) :srliw) :srliw) (t :sraiw)) :exec (car x))))
Theorem:
(defthm op-imms-32-funct-kind-possibilities (or (equal (op-imms-32-funct-kind x) :slliw) (equal (op-imms-32-funct-kind x) :srliw) (equal (op-imms-32-funct-kind x) :sraiw)) :rule-classes ((:forward-chaining :trigger-terms ((op-imms-32-funct-kind x)))))