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