libTriton version 1.0 build 1592
Loading...
Searching...
No Matches
cpuSize.hpp
Go to the documentation of this file.
1
2/*
3** Copyright (C) - Triton
4**
5** This program is under the terms of the Apache License 2.0.
6*/
7
8#ifndef TRITON_CPUSIZE_H
9#define TRITON_CPUSIZE_H
10
12
13
14
16namespace triton {
23 namespace size {
30 constexpr triton::uint32 byte = 1;
32 constexpr triton::uint32 word = 2;
34 constexpr triton::uint32 dword = 4;
36 constexpr triton::uint32 qword = 8;
38 constexpr triton::uint32 fword = 10;
40 constexpr triton::uint32 dqword = 16;
42 constexpr triton::uint32 qqword = 32;
44 constexpr triton::uint32 dqqword = 64;
48 };
49
51 namespace bitsize {
58 constexpr triton::uint32 flag = 1;
60 constexpr triton::uint32 byte = 8;
62 constexpr triton::uint32 word = 16;
64 constexpr triton::uint32 dword = 32;
66 constexpr triton::uint32 qword = 64;
68 constexpr triton::uint32 fword = 80;
70 constexpr triton::uint32 dqword = 128;
72 constexpr triton::uint32 qqword = 256;
74 constexpr triton::uint32 dqqword = 512;
78 };
79
81};
82
83#endif /* TRITON_CPUSIZE_H */
constexpr triton::uint32 flag
flag size in bit
Definition cpuSize.hpp:58
constexpr triton::uint32 max_supported
max size supported in bit
Definition cpuSize.hpp:76
constexpr triton::uint32 fword
fword size in bit
Definition cpuSize.hpp:68
constexpr triton::uint32 dword
dword size in bit
Definition cpuSize.hpp:64
constexpr triton::uint32 qword
qword size in bit
Definition cpuSize.hpp:66
constexpr triton::uint32 dqqword
dqqword size in bit
Definition cpuSize.hpp:74
constexpr triton::uint32 word
word size in bit
Definition cpuSize.hpp:62
constexpr triton::uint32 dqword
dqword size in bit
Definition cpuSize.hpp:70
constexpr triton::uint32 qqword
qqword size in bit
Definition cpuSize.hpp:72
constexpr triton::uint32 fword
fword size in byte
Definition cpuSize.hpp:38
constexpr triton::uint32 dword
dword size in byte
Definition cpuSize.hpp:34
constexpr triton::uint32 dqqword
dqqword size in byte
Definition cpuSize.hpp:44
constexpr triton::uint32 word
word size in byte
Definition cpuSize.hpp:32
constexpr triton::uint32 dqword
dqword size in byte
Definition cpuSize.hpp:40
constexpr triton::uint32 max_supported
max size supported in byte
Definition cpuSize.hpp:46
constexpr triton::uint32 qword
qword size in byte
Definition cpuSize.hpp:36
constexpr triton::uint32 qqword
qqword size in byte
Definition cpuSize.hpp:42
std::uint32_t uint32
unisgned 32-bits
The Triton namespace.