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