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)
 
 Instruction ()
 

Public Attributes

InstructionType type
 
int dest
 
int src1
 
int src2
 

Detailed Description

Instruction structure.

Constructor & Destructor Documentation

◆ Instruction() [1/2]

Instruction::Instruction ( InstructionType  t,
int  d,
int  s1,
int  s2 
)
inline

◆ Instruction() [2/2]

Instruction::Instruction ( )
inline

Member Data Documentation

◆ dest

int Instruction::dest

◆ src1

int Instruction::src1

◆ src2

int Instruction::src2

◆ type

InstructionType Instruction::type

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