Retrieve the
This is always in the bits 25-31 of the 32-bit encoding,
for the formats with an
Function:
(defun get-funct7 (enc) (declare (xargs :guard (ubyte32p enc))) (let ((__function__ 'get-funct7)) (declare (ignorable __function__)) (part-select enc :low 25 :high 31)))
Theorem:
(defthm ubyte7p-of-get-funct7 (b* ((funct7 (get-funct7 enc))) (ubyte7p funct7)) :rule-classes :rewrite)