GDB (xrefs)
|
Go to the source code of this file.
#define I387_FCTRL_REGNUM | ( | tdep | ) | (I387_ST0_REGNUM (tdep) + 8) |
Definition at line 38 of file i387-tdep.h.
Referenced by i386_fp_regnum_p(), i386_fpc_regnum_p(), i386_process_record(), i386_record_floats(), i386_svr4_reg_to_regnum(), i386nto_register_area(), i387_collect_fsave(), i387_collect_fxsave(), i387_collect_xsave(), i387_print_float_info(), i387_supply_fsave(), i387_supply_fxsave(), and i387_supply_xsave().
#define I387_FIOFF_REGNUM | ( | tdep | ) | (I387_FCTRL_REGNUM (tdep) + 4) |
Definition at line 42 of file i387-tdep.h.
Referenced by i387_collect_fsave(), i387_collect_fxsave(), i387_collect_xsave(), i387_print_float_info(), i387_supply_fsave(), i387_supply_fxsave(), and i387_supply_xsave().
#define I387_FISEG_REGNUM | ( | tdep | ) | (I387_FCTRL_REGNUM (tdep) + 3) |
Definition at line 41 of file i387-tdep.h.
Referenced by amd64_collect_fxsave(), amd64_collect_xsave(), amd64_supply_fxsave(), amd64_supply_xsave(), do_windows_fetch_inferior_registers(), i386nto_register_area(), and i387_print_float_info().
#define I387_FOOFF_REGNUM | ( | tdep | ) | (I387_FCTRL_REGNUM (tdep) + 6) |
Definition at line 44 of file i387-tdep.h.
Referenced by i387_collect_fsave(), i387_collect_fxsave(), i387_collect_xsave(), i387_print_float_info(), i387_supply_fsave(), i387_supply_fxsave(), and i387_supply_xsave().
#define I387_FOP_REGNUM | ( | tdep | ) | (I387_FCTRL_REGNUM (tdep) + 7) |
Definition at line 45 of file i387-tdep.h.
Referenced by do_windows_fetch_inferior_registers(), i386_record_floats(), i386nto_register_area(), i387_collect_fsave(), i387_collect_fxsave(), i387_collect_xsave(), i387_print_float_info(), i387_supply_fsave(), i387_supply_fxsave(), and i387_supply_xsave().
#define I387_FOSEG_REGNUM | ( | tdep | ) | (I387_FCTRL_REGNUM (tdep) + 5) |
Definition at line 43 of file i387-tdep.h.
Referenced by amd64_collect_fxsave(), amd64_collect_xsave(), amd64_supply_fxsave(), amd64_supply_xsave(), and i387_print_float_info().
#define I387_FSTAT_REGNUM | ( | tdep | ) | (I387_FCTRL_REGNUM (tdep) + 1) |
Definition at line 39 of file i387-tdep.h.
Referenced by i386_mmx_regnum_to_fp_regnum(), i386_store_return_value(), i386_svr4_reg_to_regnum(), i387_print_float_info(), i387_return_value(), i387_supply_fxsave(), and i387_supply_xsave().
#define I387_FTAG_REGNUM | ( | tdep | ) | (I387_FCTRL_REGNUM (tdep) + 2) |
Definition at line 40 of file i387-tdep.h.
Referenced by i386_process_record(), i386_store_return_value(), i387_collect_fxsave(), i387_collect_xsave(), i387_print_float_info(), i387_return_value(), i387_supply_fxsave(), and i387_supply_xsave().
#define I387_MM0_REGNUM | ( | tdep | ) | ((tdep)->mm0_regnum) |
Definition at line 34 of file i387-tdep.h.
Referenced by i386_darwin_push_dummy_call(), i386_dbx_reg_to_regnum(), i386_process_record(), and i386_pseudo_register_name().
#define I387_MXCSR_REGNUM | ( | tdep | ) | (I387_XMM0_REGNUM (tdep) + I387_NUM_XMM_REGS (tdep)) |
Definition at line 47 of file i387-tdep.h.
Referenced by i386_mxcsr_regnum_p(), i386_process_record(), i386_svr4_reg_to_regnum(), i386nto_register_area(), i387_collect_fxsave(), i387_collect_xsave(), i387_supply_fsave(), i387_supply_fxsave(), and i387_supply_xsave().
#define I387_NUM_REGS 16 |
Definition at line 30 of file i387-tdep.h.
Referenced by amd64_init_abi(), i386_gdbarch_init(), and i386nto_regset_id().
#define I387_NUM_XMM_REGS | ( | tdep | ) | ((tdep)->num_xmm_regs) |
Definition at line 33 of file i387-tdep.h.
Referenced by i386_mxcsr_regnum_p(), and i386_xmm_regnum_p().
#define I387_NUM_YMM_REGS | ( | tdep | ) | ((tdep)->num_ymm_regs) |
Definition at line 35 of file i387-tdep.h.
#define I387_SIZEOF_FSAVE 108 |
Definition at line 81 of file i387-tdep.h.
Referenced by i386_gdbarch_init(), i386obsd_aout_regset_from_core_section(), and i386obsd_aout_supply_regset().
#define I387_SIZEOF_FXSAVE 512 |
Definition at line 82 of file i387-tdep.h.
Referenced by amd64_init_abi(), amd64obsd_regset_from_core_section(), amd64obsd_supply_regset(), i386_collect_fpregset(), i386_regset_from_core_section(), and i386_supply_fpregset().
#define I387_ST0_REGNUM | ( | tdep | ) | ((tdep)->st0_regnum) |
Definition at line 32 of file i387-tdep.h.
Referenced by i386_dbx_reg_to_regnum(), i386_fp_regnum_p(), i386_fpc_regnum_p(), i386_mmx_regnum_to_fp_regnum(), i386_process_record(), i386_record_floats(), i386_svr4_reg_to_regnum(), i386nto_register_area(), i387_collect_fsave(), i387_collect_fxsave(), i387_collect_xsave(), i387_print_float_info(), i387_supply_fsave(), i387_supply_fxsave(), and i387_supply_xsave().
#define I387_XMM0_REGNUM | ( | tdep | ) | (I387_ST0_REGNUM (tdep) + 16) |
Definition at line 46 of file i387-tdep.h.
Referenced by amd64_dwarf_reg_to_regnum(), i386_dbx_reg_to_regnum(), i386_fpc_regnum_p(), i386_process_record(), i386_pseudo_register_read_into_value(), i386_pseudo_register_write(), i386_xmm_regnum_p(), i386nto_register_area(), i387_collect_fsave(), i387_collect_fxsave(), i387_collect_xsave(), i387_supply_fsave(), i387_supply_fxsave(), and i387_supply_xsave().
#define I387_YMM0H_REGNUM | ( | tdep | ) | ((tdep)->ymm0h_regnum) |
Definition at line 36 of file i387-tdep.h.
Referenced by i387_collect_xsave(), and i387_supply_xsave().
#define I387_YMMENDH_REGNUM | ( | tdep | ) | (I387_YMM0H_REGNUM (tdep) + I387_NUM_YMM_REGS (tdep)) |
Definition at line 49 of file i387-tdep.h.
Referenced by i387_collect_xsave(), and i387_supply_xsave().
void i387_collect_fsave | ( | const struct regcache * | regcache, |
int | regnum, | ||
void * | fsave | ||
) |
Definition at line 505 of file i387-tdep.c.
References FSAVE_ADDR, gdb_assert, gdbarch_tdep(), get_regcache_arch(), I386_ST0_REGNUM, I387_FCTRL_REGNUM, I387_FIOFF_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, I387_XMM0_REGNUM, memcpy(), regcache_raw_collect(), gdbarch_tdep::regs, and gdbarch_tdep::st0_regnum.
Referenced by fill_fpregset(), go32_store_registers(), i386_collect_fpregset(), i386bsd_store_inferior_registers(), i386nto_regset_fill(), store_fpregs(), and store_register().
void i387_collect_fxsave | ( | const struct regcache * | regcache, |
int | regnum, | ||
void * | fxsave | ||
) |
Definition at line 681 of file i387-tdep.c.
References FXSAVE_ADDR, FXSAVE_MXCSR_ADDR, gdb_assert, gdbarch_tdep(), get_regcache_arch(), I386_ST0_REGNUM, I387_FCTRL_REGNUM, I387_FIOFF_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_FTAG_REGNUM, I387_MXCSR_REGNUM, I387_ST0_REGNUM, I387_XMM0_REGNUM, memcpy(), gdbarch_tdep::num_xmm_regs, regcache_raw_collect(), gdbarch_tdep::regs, and gdbarch_tdep::st0_regnum.
Referenced by amd64_collect_fxsave(), i386_collect_fpregset(), i386_darwin_store_inferior_registers(), i386bsd_store_inferior_registers(), and i386nto_regset_fill().
void i387_collect_xsave | ( | const struct regcache * | regcache, |
int | regnum, | ||
void * | xsave, | ||
int | gcore | ||
) |
Definition at line 979 of file i387-tdep.c.
References _, all, check(), FXSAVE_ADDR, FXSAVE_MXCSR_ADDR, gdb_assert, gdbarch_tdep(), get_regcache_arch(), I386_MAX_REGISTER_SIZE, I386_ST0_REGNUM, I386_XSTATE_AVX, I386_XSTATE_SIZE, I386_XSTATE_SSE, I386_XSTATE_X87, I387_FCTRL_REGNUM, I387_FIOFF_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_FTAG_REGNUM, I387_MXCSR_REGNUM, I387_ST0_REGNUM, I387_XMM0_REGNUM, I387_YMM0H_REGNUM, I387_YMMENDH_REGNUM, internal_error(), memcmp(), memcpy(), memset(), gdbarch_tdep::num_xmm_regs, p, regcache_raw_collect(), gdbarch_tdep::regs, gdbarch_tdep::st0_regnum, gdbarch_tdep::xcr0, XSAVE_AVXH_ADDR, gdbarch_tdep::xsave_xcr0_offset, and XSAVE_XSTATE_BV_ADDR.
Referenced by amd64_collect_xsave(), i386_collect_xstateregset(), and store_xstateregs().
int i387_convert_register_p | ( | struct gdbarch * | gdbarch, |
int | regnum, | ||
struct type * | type | ||
) |
Definition at line 341 of file i387-tdep.c.
References i386_fp_regnum_p(), and i387_ext_type().
Referenced by amd64_init_abi(), and i386_convert_register_p().
void i387_print_float_info | ( | struct gdbarch * | gdbarch, |
struct ui_file * | file, | ||
struct frame_info * | frame, | ||
const char * | args | ||
) |
Definition at line 218 of file i387-tdep.c.
References _, fprintf_filtered(), fputs_filtered(), gdb_assert, gdbarch_tdep(), get_frame_arch(), get_frame_register_value(), hex_string_custom(), I387_FCTRL_REGNUM, I387_FIOFF_REGNUM, I387_FISEG_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_FOSEG_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, I387_ST0_REGNUM, print_i387_control_word(), print_i387_ext(), print_i387_status_word(), read_frame_register_unsigned(), regnum, ULONGEST, value_contents(), and value_entirely_available().
Referenced by i386_gdbarch_init().
int i387_register_to_value | ( | struct frame_info * | frame, |
int | regnum, | ||
struct type * | type, | ||
gdb_byte * | to, | ||
int * | optimizedp, | ||
int * | unavailablep | ||
) |
Definition at line 361 of file i387-tdep.c.
References _, convert_typed_floating(), from, gdb_assert, get_frame_arch(), get_frame_register_bytes(), i386_fp_regnum_p(), I386_MAX_REGISTER_SIZE, i387_ext_type(), TYPE_CODE, TYPE_CODE_FLT, TYPE_LENGTH, and warning().
Referenced by amd64_init_abi(), and i386_register_to_value().
void i387_return_value | ( | struct gdbarch * | gdbarch, |
struct regcache * | regcache | ||
) |
Definition at line 1271 of file i387-tdep.c.
References gdbarch_tdep(), I387_FSTAT_REGNUM, I387_FTAG_REGNUM, regcache_raw_read_unsigned(), regcache_raw_write_unsigned(), and ULONGEST.
Referenced by amd64_return_value().
void i387_supply_fsave | ( | struct regcache * | regcache, |
int | regnum, | ||
const void * | fsave | ||
) |
Definition at line 450 of file i387-tdep.c.
References FSAVE_ADDR, gdb_assert, gdbarch_byte_order(), gdbarch_tdep(), get_regcache_arch(), I386_ST0_REGNUM, I387_FCTRL_REGNUM, I387_FIOFF_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_MXCSR_REGNUM, I387_ST0_REGNUM, I387_XMM0_REGNUM, memcpy(), regcache_raw_supply(), gdbarch_tdep::regs, gdbarch_tdep::st0_regnum, and store_unsigned_integer().
Referenced by fetch_fpregs(), fetch_register(), go32_fetch_registers(), i386_supply_fpregset(), i386bsd_fetch_inferior_registers(), i386nto_supply_fpregset(), i386obsd_aout_supply_regset(), and supply_fpregset().
void i387_supply_fxsave | ( | struct regcache * | regcache, |
int | regnum, | ||
const void * | fxsave | ||
) |
Definition at line 598 of file i387-tdep.c.
References FXSAVE_ADDR, FXSAVE_MXCSR_ADDR, gdb_assert, gdbarch_tdep(), get_regcache_arch(), I386_ST0_REGNUM, I387_FCTRL_REGNUM, I387_FIOFF_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, I387_MXCSR_REGNUM, I387_ST0_REGNUM, i387_tag(), I387_XMM0_REGNUM, memcpy(), gdbarch_tdep::num_xmm_regs, regcache_raw_supply(), gdbarch_tdep::regs, and gdbarch_tdep::st0_regnum.
Referenced by amd64_supply_fxsave(), i386_darwin_fetch_inferior_registers(), i386_supply_fpregset(), i386bsd_fetch_inferior_registers(), and i386nto_supply_fpregset().
void i387_supply_xsave | ( | struct regcache * | regcache, |
int | regnum, | ||
const void * | xsave | ||
) |
Definition at line 772 of file i387-tdep.c.
References all, FXSAVE_ADDR, FXSAVE_MXCSR_ADDR, gdb_assert, gdbarch_tdep(), get_regcache_arch(), I386_ST0_REGNUM, I386_XSTATE_AVX, I386_XSTATE_AVX_MASK, I386_XSTATE_SSE, I386_XSTATE_X87, I387_FCTRL_REGNUM, I387_FIOFF_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, I387_MXCSR_REGNUM, I387_ST0_REGNUM, i387_tag(), I387_XMM0_REGNUM, I387_YMM0H_REGNUM, I387_YMMENDH_REGNUM, MAX_REGISTER_SIZE, memcpy(), gdbarch_tdep::num_xmm_regs, regcache_raw_supply(), gdbarch_tdep::regs, gdbarch_tdep::st0_regnum, gdbarch_tdep::xcr0, XSAVE_AVXH_ADDR, and XSAVE_XSTATE_BV_ADDR.
Referenced by amd64_supply_xsave(), fetch_xstateregs(), and i386_supply_xstateregset().
void i387_value_to_register | ( | struct frame_info * | frame, |
int | regnum, | ||
struct type * | type, | ||
const gdb_byte * | from | ||
) |
Definition at line 393 of file i387-tdep.c.
References _, convert_typed_floating(), gdb_assert, get_frame_arch(), i386_fp_regnum_p(), I386_MAX_REGISTER_SIZE, i387_ext_type(), put_frame_register(), to, TYPE_CODE, TYPE_CODE_FLT, and warning().
Referenced by amd64_init_abi(), and i386_value_to_register().