unsigned int crm : 1;
unsigned int svm : 1;
unsigned int type : 2;
+ unsigned int rc : 1;
};
#define SVP64_RC1_ACTIVE (1U << 3U)
return SVP64_STR_MAP_CMP(str, len, table);
}
+static inline bool
+svp64_is_rc (const char *str, size_t len)
+{
+ return (str[len - 1] == '.');
+}
+
static void
svp64_decode (char *str, struct svp64_ctx *svp64)
{
if (*str != '\0')
*str++ = '\0';
+ if (svp64_is_rc (opc, opclen))
+ svp64->rc = 1;
+
if (svp64_is_ld (opc, opclen))
svp64->type = SVP64_TYPE_LD;
else if (svp64_is_st (opc, opclen))