if (argc % 2 != 0)
fatal_error (input_location,
- "%%:target_mode_check takes an even number of parameters");
+ "%%:%<target_mode_check%> takes an even number of parameters");
while (argc)
{
else if (strcmp (argv[0], "cpu") == 0)
cpu = argv[1];
else
- fatal_error (input_location,
- "unrecognized option passed to %%:target_mode_check");
+ fatal_error (input_location, "unrecognized option passed to %%:"
+ "%<target_mode_check%%>>");
argc -= 2;
argv += 2;
}
if (argc & 1)
fatal_error (input_location,
- "%%:canon_for_mlib takes 1 or more pairs of parameters");
+ "%%:%<canon_for_mlib%> takes 1 or more pairs of parameters");
while (argc)
{
abi = argv[1];
else
fatal_error (input_location,
- "unrecognized operand to %%:canon_for_mlib");
+ "unrecognized operand to %%:%<canon_for_mlib%>");
argc -= 2;
argv += 2;
arch = argv[1];
else
fatal_error (input_location,
- "unrecognized operand to %%:asm_auto_mfpu");
+ "unrecognized operand to %%:%<asm_auto_mfpu%>");
argc -= 2;
argv += 2;
}
else
error_at (EXPR_LOCATION (exp),
"coproc must be a constant immediate in "
- "range [0-%d] enabled with +cdecp<N>",
+ "range [0-%d] enabled with %<+cdecp<N>%>",
ARM_CDE_CONST_COPROC);
}
else
&& (imm < 0 || imm > 32))
{
if (fcode == ARM_BUILTIN_WRORHI)
- error ("the range of count should be in 0 to 32. please check the intrinsic _mm_rori_pi16 in code.");
+ error ("the range of count should be in 0 to 32; please check the intrinsic %<_mm_rori_pi16%> in code");
else if (fcode == ARM_BUILTIN_WRORWI)
- error ("the range of count should be in 0 to 32. please check the intrinsic _mm_rori_pi32 in code.");
+ error ("the range of count should be in 0 to 32; please check the intrinsic %<_mm_rori_pi32%> in code");
else if (fcode == ARM_BUILTIN_WRORH)
- error ("the range of count should be in 0 to 32. please check the intrinsic _mm_ror_pi16 in code.");
+ error ("the range of count should be in 0 to 32; please check the intrinsic %<_mm_ror_pi16%> in code");
else
- error ("the range of count should be in 0 to 32. please check the intrinsic _mm_ror_pi32 in code.");
+ error ("the range of count should be in 0 to 32; please check the intrinsic %<_mm_ror_pi32%> in code");
}
else if ((fcode == ARM_BUILTIN_WRORDI || fcode == ARM_BUILTIN_WRORD)
&& (imm < 0 || imm > 64))
{
if (fcode == ARM_BUILTIN_WRORDI)
- error ("the range of count should be in 0 to 64. please check the intrinsic _mm_rori_si64 in code.");
+ error ("the range of count should be in 0 to 64; please check the intrinsic %<_mm_rori_si64%> in code");
else
- error ("the range of count should be in 0 to 64. please check the intrinsic _mm_ror_si64 in code.");
+ error ("the range of count should be in 0 to 64; please check the intrinsic %<_mm_ror_si64%> in code");
}
else if (imm < 0)
{
if (fcode == ARM_BUILTIN_WSRLHI)
- error ("the count should be no less than 0. please check the intrinsic _mm_srli_pi16 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_srli_pi16%> in code");
else if (fcode == ARM_BUILTIN_WSRLWI)
- error ("the count should be no less than 0. please check the intrinsic _mm_srli_pi32 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_srli_pi32%> in code");
else if (fcode == ARM_BUILTIN_WSRLDI)
- error ("the count should be no less than 0. please check the intrinsic _mm_srli_si64 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_srli_si64%> in code");
else if (fcode == ARM_BUILTIN_WSLLHI)
- error ("the count should be no less than 0. please check the intrinsic _mm_slli_pi16 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_slli_pi16%> in code");
else if (fcode == ARM_BUILTIN_WSLLWI)
- error ("the count should be no less than 0. please check the intrinsic _mm_slli_pi32 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_slli_pi32%> in code");
else if (fcode == ARM_BUILTIN_WSLLDI)
- error ("the count should be no less than 0. please check the intrinsic _mm_slli_si64 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_slli_si64%> in code");
else if (fcode == ARM_BUILTIN_WSRAHI)
- error ("the count should be no less than 0. please check the intrinsic _mm_srai_pi16 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_srai_pi16%> in code");
else if (fcode == ARM_BUILTIN_WSRAWI)
- error ("the count should be no less than 0. please check the intrinsic _mm_srai_pi32 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_srai_pi32%> in code");
else if (fcode == ARM_BUILTIN_WSRADI)
- error ("the count should be no less than 0. please check the intrinsic _mm_srai_si64 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_srai_si64%> in code");
else if (fcode == ARM_BUILTIN_WSRLH)
- error ("the count should be no less than 0. please check the intrinsic _mm_srl_pi16 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_srl_pi16%> in code");
else if (fcode == ARM_BUILTIN_WSRLW)
- error ("the count should be no less than 0. please check the intrinsic _mm_srl_pi32 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_srl_pi32%> in code");
else if (fcode == ARM_BUILTIN_WSRLD)
- error ("the count should be no less than 0. please check the intrinsic _mm_srl_si64 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_srl_si64%> in code");
else if (fcode == ARM_BUILTIN_WSLLH)
- error ("the count should be no less than 0. please check the intrinsic _mm_sll_pi16 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_sll_pi16%> in code");
else if (fcode == ARM_BUILTIN_WSLLW)
- error ("the count should be no less than 0. please check the intrinsic _mm_sll_pi32 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_sll_pi32%> in code");
else if (fcode == ARM_BUILTIN_WSLLD)
- error ("the count should be no less than 0. please check the intrinsic _mm_sll_si64 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_sll_si64%> in code");
else if (fcode == ARM_BUILTIN_WSRAH)
- error ("the count should be no less than 0. please check the intrinsic _mm_sra_pi16 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_sra_pi16%> in code");
else if (fcode == ARM_BUILTIN_WSRAW)
- error ("the count should be no less than 0. please check the intrinsic _mm_sra_pi32 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_sra_pi32%> in code");
else
- error ("the count should be no less than 0. please check the intrinsic _mm_sra_si64 in code.");
+ error ("the count should be no less than 0; please check the intrinsic %<_mm_sra_si64%> in code");
}
}
return arm_expand_binop_builtin (icode, exp, target);
/* __fp16 support currently assumes the core has ldrh. */
if (!arm_arch4 && arm_fp16_format != ARM_FP16_FORMAT_NONE)
- sorry ("__fp16 and no ldrh");
+ sorry ("%<__fp16%> and no ldrh");
if (use_cmse && !arm_arch_cmse)
error ("target CPU does not support ARMv8-M Security Extensions");
if (TARGET_THUMB1 && !seen_thumb1_vfp)
{
- sorry ("Thumb-1 hard-float VFP ABI");
+ sorry ("Thumb-1 %<hard-float%> VFP ABI");
/* sorry() is not immediately fatal, so only display this once. */
seen_thumb1_vfp = true;
}
*base_mode = new_mode;
if (TARGET_GENERAL_REGS_ONLY)
- error ("argument of type %qT not permitted with -mgeneral-regs-only",
+ error ("argument of type %qT not permitted with %<-mgeneral-regs-only%>",
type);
return true;
{
*no_add_attrs = true;
warning (OPT_Wattributes, "%qE attribute ignored without %<-mcmse%> "
- "option.", name);
+ "option", name);
return NULL_TREE;
}
{
*no_add_attrs = true;
warning (OPT_Wattributes, "%qE attribute ignored without %<-mcmse%> "
- "option.", name);
+ "option", name);
return NULL_TREE;
}
for (unsigned i = 0, n = outputs.length (); i < n; ++i)
if (startswith (constraints[i], "=@cc"))
{
- sorry ("asm flags not supported in thumb1 mode");
+ sorry ("%<asm%> flags not supported in thumb1 mode");
break;
}
return NULL;