if (pred != PRED_m)
return false;
- if ((base == functions::vorrq && mode_suffix_id == MODE_n)
+ if (mode_suffix_id == MODE_r
+ || (base == functions::vorrq && mode_suffix_id == MODE_n)
|| (base == functions::vqrshlq && mode_suffix_id == MODE_n)
|| (base == functions::vrshlq && mode_suffix_id == MODE_n))
return false;
{
if (inferred_type == NUM_TYPE_SUFFIXES)
inferred_type = first_type;
- tree scalar_form = lookup_form (MODE_n, inferred_type);
+ mode_suffix_index scalar_mode = MODE_n;
+ if (mode_suffix_id == MODE_r)
+ scalar_mode = MODE_r;
+ tree scalar_form = lookup_form (scalar_mode, inferred_type);
/* Allow the final argument to be scalar, if an _n form exists. */
if (scalar_argument_p (argno))
DEF_MVE_MODE (n, none, none, none)
DEF_MVE_MODE (offset, none, none, bytes)
+DEF_MVE_MODE (r, none, none, none)
#define REQUIRES_FLOAT false
DEF_MVE_TYPE (mve_pred16_t, boolean_type_node)