gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::X86ISA::float_reg Namespace Reference

Enumerations

enum  FloatRegIndex {
  MmxBase , FprBase = MmxBase , _Mmx0Idx = MmxBase , _Mmx1Idx ,
  _Mmx2Idx , _Mmx3Idx , _Mmx4Idx , _Mmx5Idx ,
  _Mmx6Idx , _Mmx7Idx , _Fpr0Idx = FprBase , _Fpr1Idx ,
  _Fpr2Idx , _Fpr3Idx , _Fpr4Idx , _Fpr5Idx ,
  _Fpr6Idx , _Fpr7Idx , XmmBase = MmxBase + NumMMXRegs , _Xmm0LowIdx = XmmBase ,
  _Xmm0HighIdx , _Xmm1LowIdx , _Xmm1HighIdx , _Xmm2LowIdx ,
  _Xmm2HighIdx , _Xmm3LowIdx , _Xmm3HighIdx , _Xmm4LowIdx ,
  _Xmm4HighIdx , _Xmm5LowIdx , _Xmm5HighIdx , _Xmm6LowIdx ,
  _Xmm6HighIdx , _Xmm7LowIdx , _Xmm7HighIdx , _Xmm8LowIdx ,
  _Xmm8HighIdx , _Xmm9LowIdx , _Xmm9HighIdx , _Xmm10LowIdx ,
  _Xmm10HighIdx , _Xmm11LowIdx , _Xmm11HighIdx , _Xmm12LowIdx ,
  _Xmm12HighIdx , _Xmm13LowIdx , _Xmm13HighIdx , _Xmm14LowIdx ,
  _Xmm14HighIdx , _Xmm15LowIdx , _Xmm15HighIdx , MicrofpBase = XmmBase + 2 * NumXMMRegs ,
  _Microfp0Idx = MicrofpBase , _Microfp1Idx , _Microfp2Idx , _Microfp3Idx ,
  _Microfp4Idx , _Microfp5Idx , _Microfp6Idx , _Microfp7Idx ,
  NumRegs = MicrofpBase + NumMicroFpRegs
}
 

Functions

static RegId mmx (int index)
 
static RegId fpr (int index)
 
static RegId xmm (int index)
 
static RegId xmmLow (int index)
 
static RegId xmmHigh (int index)
 
static RegId microfp (int index)
 
static RegId stack (int index, int top)
 

Enumeration Type Documentation

◆ FloatRegIndex

Enumerator
MmxBase 
FprBase 
_Mmx0Idx 
_Mmx1Idx 
_Mmx2Idx 
_Mmx3Idx 
_Mmx4Idx 
_Mmx5Idx 
_Mmx6Idx 
_Mmx7Idx 
_Fpr0Idx 
_Fpr1Idx 
_Fpr2Idx 
_Fpr3Idx 
_Fpr4Idx 
_Fpr5Idx 
_Fpr6Idx 
_Fpr7Idx 
XmmBase 
_Xmm0LowIdx 
_Xmm0HighIdx 
_Xmm1LowIdx 
_Xmm1HighIdx 
_Xmm2LowIdx 
_Xmm2HighIdx 
_Xmm3LowIdx 
_Xmm3HighIdx 
_Xmm4LowIdx 
_Xmm4HighIdx 
_Xmm5LowIdx 
_Xmm5HighIdx 
_Xmm6LowIdx 
_Xmm6HighIdx 
_Xmm7LowIdx 
_Xmm7HighIdx 
_Xmm8LowIdx 
_Xmm8HighIdx 
_Xmm9LowIdx 
_Xmm9HighIdx 
_Xmm10LowIdx 
_Xmm10HighIdx 
_Xmm11LowIdx 
_Xmm11HighIdx 
_Xmm12LowIdx 
_Xmm12HighIdx 
_Xmm13LowIdx 
_Xmm13HighIdx 
_Xmm14LowIdx 
_Xmm14HighIdx 
_Xmm15LowIdx 
_Xmm15HighIdx 
MicrofpBase 
_Microfp0Idx 
_Microfp1Idx 
_Microfp2Idx 
_Microfp3Idx 
_Microfp4Idx 
_Microfp5Idx 
_Microfp6Idx 
_Microfp7Idx 
NumRegs 

Definition at line 52 of file float.hh.

Function Documentation

◆ fpr()

static RegId gem5::X86ISA::float_reg::fpr ( int index)
inlinestatic

◆ microfp()

static RegId gem5::X86ISA::float_reg::microfp ( int index)
inlinestatic

Definition at line 183 of file float.hh.

References gem5::X86ISA::floatRegClass, gem5::X86ISA::index, and MicrofpBase.

◆ mmx()

static RegId gem5::X86ISA::float_reg::mmx ( int index)
inlinestatic

◆ stack()

static RegId gem5::X86ISA::float_reg::stack ( int index,
int top )
inlinestatic

Definition at line 189 of file float.hh.

References fpr(), and gem5::X86ISA::index.

Referenced by gem5::X86ISA::FloatRegClassOps::flatten().

◆ xmm()

static RegId gem5::X86ISA::float_reg::xmm ( int index)
inlinestatic

◆ xmmHigh()

static RegId gem5::X86ISA::float_reg::xmmHigh ( int index)
inlinestatic

◆ xmmLow()

static RegId gem5::X86ISA::float_reg::xmmLow ( int index)
inlinestatic

Generated on Tue Jun 18 2024 16:24:54 for gem5 by doxygen 1.11.0