HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
register_int.hpp
Go to the documentation of this file.
1
5#pragma once
6
7#include "architecture.hpp"
8#include "bigint.hpp"
9#include <cstdint>
10
35namespace tt {
36
37#if TT_PROCESSOR == TT_CPU_X64
38using register_int = int64_t;
39using register_signed_int = int64_t;
40using register_unsigned_int = uint64_t;
41
42#if TT_COMPILER == TT_CC_CLANG || TT_COMPILER == TT_CC_GCC
43using register_long = __int128_t;
44using register_signed_long = __int128_t;
45using register_unsigned_long = unsigned __int128_t;
46
47#else
48using register_long = bigint<register_unsigned_int,2,true>;
51#endif
52
53#else
54#error "register_int missing implementation"
55#endif
56
57}
58
uint64_t register_unsigned_int
A unsigned integer with the maximum size of a scaler register.
Definition register_int.hpp:40
int64_t register_signed_int
A signed integer with the maximum size of a scaler register.
Definition register_int.hpp:39
__int128_t register_signed_long
A signed integer twice the maximum size of a scaler register.
Definition register_int.hpp:44
unsigned __int128_t register_unsigned_long
A unsigned integer twice the maximum size of a scaler register.
Definition register_int.hpp:45
High performance big integer implementation.
Definition bigint.hpp:23