Files
kernels/sim/simx/types.h
Santosh Srivatsan e7bc436b52 Renamed simX to simx
2021-12-10 16:57:29 -05:00

27 lines
400 B
C++

#pragma once
#include <stdint.h>
#include <bitset>
#include <VX_config.h>
namespace vortex {
typedef uint8_t Byte;
typedef uint32_t Word;
typedef int32_t WordI;
// simx64
typedef uint64_t DoubleWord;
typedef int64_t DoubleWordI;
// simx64
typedef uint64_t Addr;
typedef uint64_t Size;
typedef std::bitset<32> RegMask;
typedef std::bitset<32> ThreadMask;
typedef std::bitset<32> WarpMask;
}