FreeBSD/contrib/binutils/gas/config/tc-arm.c
/* Parse a directive saving VFP registers for pre-ARMv6.  */
Parse a directive saving VFP registers for pre-ARMv6.
Parse a directive saving VFP registers for pre - ARMv6 .
static void
s_arm_unwind_save_vfp (void)
{
  int count;
  unsigned int reg;
  valueT op;
  count = parse_vfp_reg_list (&input_line_pointer, &reg, REGLIST_VFP_D);
  if (count == FAIL)
    {
      as_bad (_("expected register list"));
      ignore_rest_of_line ();
      return;
    }
  demand_empty_rest_of_line ();
  if (reg == 8)
    {
      op = 0xb8 | (count - 1);
      add_unwind_opcode (op, 1);
    }
  else
    {
      op = 0xb300 | (reg << 4) | (count - 1);
      add_unwind_opcode (op, 2);
    }
  unwind.frame_size += count * 8 + 4;
}
static void s_arm_unwind_save_vfp ( void ) { int count ; unsigned int reg ; valueT op ; count = parse_vfp_reg_list ( & input_line_pointer , & reg , REGLIST_VFP_D ) ; if ( count == FAIL ) { as_bad ( _ ( " " ) ) ; ignore_rest_of_line ( ) ; return ; } demand_empty_rest_of_line ( ) ; if ( reg == 8 ) { op = 0xb8 | ( count - 1 ) ; add_unwind_opcode ( op , 1 ) ; } else { op = 0xb300 | ( reg << 4 ) | ( count - 1 ) ; add_unwind_opcode ( op , 2 ) ; } unwind . frame_size += count * 8 + 4 ; }
Parse a directive saving VFP registers for pre-ARMv6.
Parse a directive saving VFP registers for pre - ARMv6 .
/* Short form.  */ /* Long form.  */