MicroGPU 1.0
Simple functional model of a GPU for educational purposes
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Instruction Struct Reference

Instruction structure. More...

#include <warp.hh>

Collaboration diagram for Instruction:
Collaboration graph

Public Member Functions

 Instruction (InstructionType t, int d, int s1, int s2, bool isBranch=false)
 
 Instruction ()
 

Public Attributes

InstructionType type
 
int dest
 
int src1
 
int src2
 
bool isBranch
 

Detailed Description

Instruction structure.

Constructor & Destructor Documentation

◆ Instruction() [1/2]

Instruction::Instruction ( InstructionType  t,
int  d,
int  s1,
int  s2,
bool  isBranch = false 
)
inline

◆ Instruction() [2/2]

Instruction::Instruction ( )
inline

Member Data Documentation

◆ dest

int Instruction::dest

◆ isBranch

bool Instruction::isBranch

◆ src1

int Instruction::src1

◆ src2

int Instruction::src2

◆ type

InstructionType Instruction::type

The documentation for this struct was generated from the following file: