/* Both v3s and v3f toolchains define TARGET_FPU_SINGLE. */
if (!TARGET_FPU_SINGLE)
{
- error ("this builtin function is only available "
+ error ("this built-in function is only available "
"on the v3s or v3f toolchain");
return NULL_RTX;
}
/* Only v3f toolchain defines TARGET_FPU_DOUBLE. */
if (!TARGET_FPU_DOUBLE)
{
- error ("this builtin function is only available "
+ error ("this built-in function is only available "
"on the v3f toolchain");
return NULL_RTX;
}
case NDS32_BUILTIN_SBUP:
if (TARGET_ISA_V3M)
{
- error ("this builtin function not support "
+ error ("this built-in function not support "
"on the v3m toolchain");
return NULL_RTX;
}
offset = 32;
}
else
- error ("__nds32__clr_pending_hwint not support NDS32_INT_SWI,"
- " NDS32_INT_ALZ, NDS32_INT_IDIVZE, NDS32_INT_DSSIM");
+ error ("%<__nds32__clr_pending_hwint%> not support %<NDS32_INT_SWI%>,"
+ " %<NDS32_INT_ALZ%>, %<NDS32_INT_IDIVZE%>, %<NDS32_INT_DSSIM%>");
/* $INT_PEND type is write one clear. */
clr_hwint = GEN_INT (1 << (INTVAL (operands[0]) - offset));
operands[2] = GEN_INT (31 - (INTVAL (operands[1]) - 32));
}
else
- error ("get_pending_int not support NDS32_INT_ALZ,"
- " NDS32_INT_IDIVZE, NDS32_INT_DSSIM");
+ error ("%<get_pending_int%> not support %<NDS32_INT_ALZ%>,"
+ " %<NDS32_INT_IDIVZE%>, %<NDS32_INT_DSSIM%>");
/* mfsr op0, sytem_reg */
if (system_reg != NULL_RTX)
offset = 48;
}
else
- error ("set_int_priority not support NDS32_INT_SWI,"
- " NDS32_INT_ALZ, NDS32_INT_IDIVZE, NDS32_INT_DSSIM");
+ error ("i%<set_int_priority%> not support %<NDS32_INT_SWI%>,"
+ " %<NDS32_INT_ALZ%>, %<NDS32_INT_IDIVZE%>, %<NDS32_INT_DSSIM%>");
mask = GEN_INT (~(3 << 2 * (INTVAL (operands[0]) - offset)));
priority = GEN_INT ((int) (INTVAL (operands[1])
offset = 48;
}
else
- error ("set_int_priority not support NDS32_INT_SWI,"
- " NDS32_INT_ALZ, NDS32_INT_IDIVZE, NDS32_INT_DSSIM");
+ error ("%<set_int_priority%> not support %<NDS32_INT_SWI%>,"
+ " %<NDS32_INT_ALZ%>, %<NDS32_INT_IDIVZE%>, %<NDS32_INT_DSSIM%>");
priority = GEN_INT (31 - 2 * (INTVAL (operands[1]) - offset));
offset = 32;
}
else
- error ("__nds32__set_trig_type_level not support NDS32_INT_SWI,"
- " NDS32_INT_ALZ, NDS32_INT_IDIVZE, NDS32_INT_DSSIM");
+ error ("%<__nds32__set_trig_type_level%> not support %<NDS32_INT_SWI%>,"
+ " %<NDS32_INT_ALZ%>, %<NDS32_INT_IDIVZE%>, %<NDS32_INT_DSSIM%>");
if (system_reg != NULL_RTX)
{
offset = 32;
}
else
- error ("__nds32__set_trig_type_edge not support NDS32_INT_SWI,"
- " NDS32_INT_ALZ, NDS32_INT_IDIVZE, NDS32_INT_DSSIM");
+ error ("%<__nds32__set_trig_type_edge%> not support %<NDS32_INT_SWI%>,"
+ " %<NDS32_INT_ALZ%>, %<NDS32_INT_IDIVZE%>, %<NDS32_INT_DSSIM%>");
if (system_reg != NULL_RTX)
{
offset = 32;
}
else
- error ("__nds32__get_trig_type not support NDS32_INT_SWI,"
- " NDS32_INT_ALZ, NDS32_INT_IDIVZE, NDS32_INT_DSSIM");
+ error ("%<__nds32__get_trig_type%> not support %<NDS32_INT_SWI%>,"
+ " %<NDS32_INT_ALZ%>, %<NDS32_INT_IDIVZE%>, %<NDS32_INT_DSSIM%>");
if (system_reg != NULL_RTX)
{
partial_save_p = 1;
if ((save_all_p + partial_save_p) > 1)
- error ("multiple save reg attributes to function %qD", func_decl);
+ error ("multiple save register attributes to function %qD", func_decl);
/* We must check at MOST one attribute to set nested-type. */
if (lookup_attribute ("nested", func_attrs))
case 'R': /* cctl valck */
/* Note the cctl divide to 5 group and share the same name table. */
if (op_value < 0 || op_value > 4)
- error ("CCTL intrinsic function subtype out of range!");
+ error ("CCTL intrinsic function subtype out of range");
fprintf (stream, "%s", nds32_cctl_names[op_value]);
return;
case 'T': /* cctl idxwbinv */
/* Note the cctl divide to 5 group and share the same name table. */
if (op_value < 0 || op_value > 4)
- error ("CCTL intrinsic function subtype out of range!");
+ error ("CCTL intrinsic function subtype out of range");
fprintf (stream, "%s", nds32_cctl_names[op_value + 4]);
return;
case 'U': /* cctl vawbinv */
/* Note the cctl divide to 5 group and share the same name table. */
if (op_value < 0 || op_value > 4)
- error ("CCTL intrinsic function subtype out of range!");
+ error ("CCTL intrinsic function subtype out of range");
fprintf (stream, "%s", nds32_cctl_names[op_value + 8]);
return;
case 'X': /* cctl idxread */
/* Note the cctl divide to 5 group and share the same name table. */
if (op_value < 0 || op_value > 4)
- error ("CCTL intrinsic function subtype out of range!");
+ error ("CCTL intrinsic function subtype out of range");
fprintf (stream, "%s", nds32_cctl_names[op_value + 12]);
return;
case 'W': /* cctl idxwitre */
/* Note the cctl divide to 5 group and share the same name table. */
if (op_value < 0 || op_value > 4)
- error ("CCTL intrinsic function subtype out of range!");
+ error ("CCTL intrinsic function subtype out of range");
fprintf (stream, "%s", nds32_cctl_names[op_value + 16]);
return;
tree new_attrs = *attributes;
if (TARGET_LINUX_ABI)
- error("cannot use indirect_call attribute under linux toolchain");
+ error ("cannot use %<indirect_call%> attribute under linux toolchain");
if (lookup_attribute ("noinline", new_attrs) == NULL)
new_attrs = tree_cons (get_identifier ("noinline"), NULL, new_attrs);
new_attrs = tree_cons (get_identifier ("noclone"), NULL, new_attrs);
if (!TREE_PUBLIC (decl))
- error ("indirect_call attribute can%'t apply for static function");
+ error ("%<indirect_call%> attribute cannot apply for static function");
*attributes = new_attrs;
}