gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Enumerations | Functions | Variables
hsail_code.hh File Reference
#include <cassert>
#include <list>
#include <map>
#include <string>
#include <vector>
#include "arch/gpu_decoder.hh"
#include "arch/hsail/Brig.h"
#include "base/addr_range_map.hh"
#include "base/intmath.hh"
#include "config/the_gpu_isa.hh"
#include "gpu-compute/hsa_code.hh"
#include "gpu-compute/hsa_kernel_info.hh"
#include "gpu-compute/misc.hh"

Go to the source code of this file.

Classes

class  Label
 
class  LabelMap
 
class  StorageElement
 
class  StorageSpace
 
class  StorageMap
 
class  HsailCode
 

Enumerations

enum  base_type_e {
  BT_DEFAULT, BT_B8, BT_U8, BT_U16,
  BT_U32, BT_U64, BT_S8, BT_S16,
  BT_S32, BT_S64, BT_F16, BT_F32,
  BT_F64, BT_NULL
}
 

Functions

int popcount (uint64_t src, int sz)
 
int firstbit (uint64_t src, int sz)
 
int lastbit (uint64_t src, int sz)
 
int signbit (uint64_t src, int sz)
 
uint64_t bitrev (uint64_t src, int sz)
 
uint64_t mul_hi (uint32_t a, uint32_t b)
 
uint64_t mul_hi (int32_t a, int32_t b)
 
uint64_t mul_hi (uint64_t a, uint64_t b)
 
uint64_t mul_hi (int64_t a, int64_t b)
 
uint64_t mul_hi (double a, double b)
 

Variables

const int NumSegments = Brig::BRIG_SEGMENT_AMD_GCN
 
const char * segmentNames []
 

Enumeration Type Documentation

Enumerator
BT_DEFAULT 
BT_B8 
BT_U8 
BT_U16 
BT_U32 
BT_U64 
BT_S8 
BT_S16 
BT_S32 
BT_S64 
BT_F16 
BT_F32 
BT_F64 
BT_NULL 

Definition at line 295 of file hsail_code.hh.

Function Documentation

uint64_t bitrev ( uint64_t  src,
int  sz 
)
inline

Definition at line 122 of file hsail_code.hh.

References ArmISA::i, and MipsISA::r.

int firstbit ( uint64_t  src,
int  sz 
)
inline

Definition at line 72 of file hsail_code.hh.

References ArmISA::i.

int lastbit ( uint64_t  src,
int  sz 
)
inline

Definition at line 86 of file hsail_code.hh.

References ArmISA::i.

uint64_t mul_hi ( uint32_t  a,
uint32_t  b 
)
inline

Definition at line 137 of file hsail_code.hh.

uint64_t mul_hi ( int32_t  a,
int32_t  b 
)
inline

Definition at line 143 of file hsail_code.hh.

uint64_t mul_hi ( uint64_t  a,
uint64_t  b 
)
inline

Definition at line 149 of file hsail_code.hh.

uint64_t mul_hi ( int64_t  a,
int64_t  b 
)
inline

Definition at line 155 of file hsail_code.hh.

uint64_t mul_hi ( double  a,
double  b 
)
inline

Definition at line 161 of file hsail_code.hh.

int popcount ( uint64_t  src,
int  sz 
)
inline

Definition at line 58 of file hsail_code.hh.

References ArmISA::i.

int signbit ( uint64_t  src,
int  sz 
)
inline

Variable Documentation

const int NumSegments = Brig::BRIG_SEGMENT_AMD_GCN
const char* segmentNames[]

Definition at line 69 of file brig_object.cc.


Generated on Fri Jun 9 2017 13:03:58 for gem5 by doxygen 1.8.6