GDBserver
Classes | Functions | Variables
i387-fp.c File Reference
#include "server.h"
#include "i387-fp.h"
#include "x86-xstate.h"

Go to the source code of this file.

Classes

struct  i387_fsave
 
struct  i387_fxsave
 
struct  i387_xsave
 

Functions

void i387_cache_to_fsave (struct regcache *regcache, void *buf)
 
void i387_fsave_to_cache (struct regcache *regcache, const void *buf)
 
void i387_cache_to_fxsave (struct regcache *regcache, void *buf)
 
void i387_cache_to_xsave (struct regcache *regcache, void *buf)
 
static int i387_ftag (struct i387_fxsave *fp, int regno)
 
void i387_fxsave_to_cache (struct regcache *regcache, const void *buf)
 
void i387_xsave_to_cache (struct regcache *regcache, const void *buf)
 

Variables

static const int num_mpx_bnd_registers = 4
 
static const int num_mpx_cfg_registers = 2
 
static const int num_avx512_k_registers = 8
 
static const int num_avx512_zmmh_low_registers = 16
 
static const int num_avx512_zmmh_high_registers = 16
 
static const int num_avx512_ymmh_registers = 16
 
static const int num_avx512_xmm_registers = 16
 
unsigned long long x86_xcr0 = X86_XSTATE_SSE_MASK
 

Function Documentation

void i387_cache_to_fsave ( struct regcache regcache,
void *  buf 
)
void i387_cache_to_fxsave ( struct regcache regcache,
void *  buf 
)
void i387_cache_to_xsave ( struct regcache regcache,
void *  buf 
)
void i387_fsave_to_cache ( struct regcache regcache,
const void *  buf 
)
static int i387_ftag ( struct i387_fxsave fp,
int  regno 
)
static

Definition at line 540 of file i387-fp.c.

References i387_fxsave::st_space.

Referenced by i387_fxsave_to_cache(), and i387_xsave_to_cache().

void i387_fxsave_to_cache ( struct regcache regcache,
const void *  buf 
)
void i387_xsave_to_cache ( struct regcache regcache,
const void *  buf 
)

Variable Documentation

const int num_avx512_k_registers = 8
static

Definition at line 25 of file i387-fp.c.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

const int num_avx512_xmm_registers = 16
static

Definition at line 29 of file i387-fp.c.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

const int num_avx512_ymmh_registers = 16
static

Definition at line 28 of file i387-fp.c.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

const int num_avx512_zmmh_high_registers = 16
static

Definition at line 27 of file i387-fp.c.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

const int num_avx512_zmmh_low_registers = 16
static

Definition at line 26 of file i387-fp.c.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

const int num_mpx_bnd_registers = 4
static

Definition at line 23 of file i387-fp.c.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

const int num_mpx_cfg_registers = 2
static

Definition at line 24 of file i387-fp.c.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

unsigned long long x86_xcr0 = X86_XSTATE_SSE_MASK

Definition at line 840 of file i387-fp.c.

Referenced by i387_cache_to_xsave(), i387_xsave_to_cache(), and x86_linux_read_description().