2009年8月25日 星期二

ARM Output template note : Condition code

%?
condition code, output by arm_print_condition

%.

/* The current condition code for a condition code setting instruction.
Preceded by 's' in unified syntax, otherwise followed by 's'. */
if (TARGET_UNIFIED_ASM)
{
fputc('s', stream);
arm_print_condition (stream);
}
else
{
arm_print_condition (stream);
fputc('s', stream);
}

%!
/* If the instruction is conditionally executed then print
the current condition code, otherwise print 's'. */
gcc_assert (TARGET_THUMB2 && TARGET_UNIFIED_ASM);
if (current_insn_predicate)
arm_print_condition (stream);
else
fputc('s', stream);

complete information in (arm.c : Line13341 : arm_print_operand : , gcc 4.4.0)

沒有留言:

張貼留言