StuBS
FPU Namespace Reference

For the sake of simplicity we call it just FPU, although this is for MMX and SSE as well. More...

Structs

struct  State
 512 byte structure for FPU / MMX / SSE registers corresponds to the layout used by the instructions fxsave and fxrstor. More...

Functions

bool init ()
 Initialize FPU on the current CPU.
 assert_size (State, 512)

Constants

static bool has_initial_state = false
static State initial_state

Detailed Description

For the sake of simplicity we call it just FPU, although this is for MMX and SSE as well.

Function Documentation

◆ init()

bool FPU::init ( )

Initialize FPU on the current CPU.

Returns
true on successful initialization

◆ assert_size()

FPU::assert_size ( State ,
512  )

Constant Documentation

◆ has_initial_state

bool FPU::has_initial_state = false
static

◆ initial_state

State FPU::initial_state
static