-
- if (op->req.cls == NULL && op->req.type == arch_register_req_type_none) {
- op->req.cls = env->cls;
- op->req.type = arch_register_req_type_normal;
+ const arch_register_req_t *req = op->req;
+ const arch_register_class_t *cls = req->cls;
+ arch_register_req_type_t type = req->type;
+
+ /* If there is no special requirement, we allow current class here */
+ if (cls == NULL && req->type == arch_register_req_type_none) {
+ cls = env->cls;
+ type = arch_register_req_type_normal;