return builtin_type_long;
}
-/* Number of bytes of storage in the program's representation
- for register REGNO. */
-int
-x86_64_register_virtual_size (int regno)
-{
- return (TYPE_LENGTH (x86_64_register_virtual_type (regno)));
-}
-
/* x86_64_register_convertible is true if register N's virtual format is
different from its raw format. Note that this definition assumes
that the host supports IEEE 32-bit floats, since it doesn't say
{
case bfd_mach_x86_64:
case bfd_mach_x86_64_intel_syntax:
- tdep->last_fpu_regnum = 25;
- tdep->first_xmm_regnum = 34;
- tdep->last_xmm_regnum = 49;
- tdep->mxcsr_regnum = 50;
- tdep->first_fpu_ctrl_regnum = 26;
+ tdep->num_xmm_regs = 16;
break;
case bfd_mach_i386_i386:
case bfd_mach_i386_i8086:
set_gdbarch_ptr_bit (gdbarch, 64);
set_gdbarch_long_double_format (gdbarch, &floatformat_i387_ext);
- set_gdbarch_ieee_float (gdbarch, 1);
-
set_gdbarch_num_regs (gdbarch, X86_64_NUM_REGS);
set_gdbarch_register_name (gdbarch, x86_64_register_name);
(SIZEOF_GREGS + SIZEOF_FPU_REGS + SIZEOF_FPU_CTRL_REGS + SIZEOF_SSE_REGS) */
set_gdbarch_register_bytes (gdbarch,
(18 * 8) + (8 * 10) + (8 * 4) + (8 * 16 + 4));
- set_gdbarch_register_virtual_size (gdbarch, x86_64_register_virtual_size);
+ set_gdbarch_register_virtual_size (gdbarch, generic_register_virtual_size);
set_gdbarch_max_register_virtual_size (gdbarch, 16);
set_gdbarch_register_virtual_type (gdbarch, x86_64_register_virtual_type);