Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
make_512.cpp File Reference
#include <stdio.h>
#include "xbyak/xbyak.h"
#include <stdlib.h>
#include <string.h>
#include "cybozu/inttype.hpp"
Include dependency graph for make_512.cpp:

Go to the source code of this file.

Classes

class  Test
 

Macros

#define NUM_OF_ARRAY(x)
 

Functions

int main (int argc, char *[])
 

Variables

const int bitEnd = 64
 
const uint64 YMM_SAE = 1ULL << 0
 
const uint64 _XMM = 1ULL << 1
 
const uint64 _MEM = 1ULL << 2
 
const uint64 _REG32 = 1ULL << 3
 
const uint64 EAX = 1ULL << 4
 
const uint64 IMM32 = 1ULL << 5
 
const uint64 IMM8 = 1ULL << 6
 
const uint64 _REG8 = 1ULL << 7
 
const uint64 _REG16 = 1ULL << 8
 
const uint64 XMM_K = 1ULL << 9
 
const uint64 YMM_K = 1ULL << 10
 
const uint64 ZMM_K = 1ULL << 11
 
const uint64 AX = 1ULL << 12
 
const uint64 AL = 1ULL << 13
 
const uint64 IMM_1 = 1ULL << 14
 
const uint64 MEM8 = 1ULL << 15
 
const uint64 MEM16 = 1ULL << 16
 
const uint64 MEM32 = 1ULL << 17
 
const uint64 VM32Z = 1ULL << 19
 
const uint64 K_K = 1ULL << 20
 
const uint64 MEM_ONLY_DISP = 1ULL << 21
 
const uint64 VM32X_K = 1ULL << 23
 
const uint64 _YMM = 1ULL << 24
 
const uint64 VM32X_32 = 1ULL << 39
 
const uint64 VM32X_64 = 1ULL << 40
 
const uint64 VM32Y_32 = 1ULL << 41
 
const uint64 VM32Y_64 = 1ULL << 42
 
const uint64 VM32Z_K = 1ULL << 32
 
const uint64 _MEMe = 0
 
const uint64 REG32_2 = 0
 
const uint64 REG16_2 = 0
 
const uint64 REG8_2 = 0
 
const uint64 REG8_3 = 0
 
const uint64 _REG64 = 0
 
const uint64 _REG64_2 = 0
 
const uint64 _XMM2 = 0
 
const uint64 _YMM2 = 0
 
const uint64 VM32X = VM32X_32
 
const uint64 VM32Y = VM32Y_32
 
const uint64 REG64 = _REG64 | _REG64_2
 
const uint64 REG32 = _REG32 | REG32_2 | EAX
 
const uint64 REG16 = _REG16 | REG16_2 | AX
 
const uint64 REG32e = REG32 | REG64
 
const uint64 REG8 = _REG8 | REG8_2|AL
 
const uint64 MEM = _MEM | _MEMe
 
const uint64 MEM64 = 1ULL << 35
 
const uint64 YMM_ER = 1ULL << 36
 
const uint64 VM32Y_K = 1ULL << 37
 
const uint64 IMM_2 = 1ULL << 38
 
const uint64 IMM = IMM_1 | IMM_2
 
const uint64 XMM = _XMM | _XMM2
 
const uint64 YMM = _YMM | _YMM2
 
const uint64 K = 1ULL << 43
 
const uint64 _ZMM = 1ULL << 44
 
const uint64 _ZMM2 = 1ULL << 45
 
const uint64 ZMM = _ZMM
 
const uint64 _YMM3 = 0
 
const uint64 K2 = 1ULL << 47
 
const uint64 ZMM_SAE = 1ULL << 48
 
const uint64 ZMM_ER = 1ULL << 49
 
const uint64 XMM_SAE = 1ULL << 51
 
const uint64 XMM_KZ = 0
 
const uint64 YMM_KZ = 0
 
const uint64 ZMM_KZ = 0
 
const uint64 MEM_K = 1ULL << 55
 
const uint64 M_1to2 = 1ULL << 56
 
const uint64 M_1to4 = 1ULL << 57
 
const uint64 M_1to8 = 1ULL << 58
 
const uint64 M_1to16 = 1ULL << 59
 
const uint64 XMM_ER = 1ULL << 60
 
const uint64 M_xword = 1ULL << 61
 
const uint64 M_yword = 1ULL << 62
 
const uint64 MY_1to4 = 1ULL << 18
 
const uint64 NOPARA = 1ULL << (bitEnd - 1)
 

Macro Definition Documentation

◆ NUM_OF_ARRAY

#define NUM_OF_ARRAY ( x)
Value:
(sizeof(x) / sizeof(x[0]))

Definition at line 6 of file make_512.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * [] )

Definition at line 2186 of file make_512.cpp.

2187{
2188 Test test(argc > 1);
2189 test.put();
2190}
@ test
Unit testing utility error code.
Definition error.hpp:96

Variable Documentation

◆ _MEM

const uint64 _MEM = 1ULL << 2

Definition at line 14 of file make_512.cpp.

◆ _MEMe

const uint64 _MEMe = 0

Definition at line 53 of file make_512.cpp.

◆ _REG16

const uint64 _REG16 = 1ULL << 8

Definition at line 20 of file make_512.cpp.

◆ _REG32

const uint64 _REG32 = 1ULL << 3

Definition at line 15 of file make_512.cpp.

◆ _REG64

const uint64 _REG64 = 0

Definition at line 58 of file make_512.cpp.

◆ _REG64_2

const uint64 _REG64_2 = 0

Definition at line 59 of file make_512.cpp.

◆ _REG8

const uint64 _REG8 = 1ULL << 7

Definition at line 19 of file make_512.cpp.

◆ _XMM

const uint64 _XMM = 1ULL << 1

Definition at line 13 of file make_512.cpp.

◆ _XMM2

const uint64 _XMM2 = 0

Definition at line 60 of file make_512.cpp.

◆ _YMM

const uint64 _YMM = 1ULL << 24

Definition at line 34 of file make_512.cpp.

◆ _YMM2

const uint64 _YMM2 = 0

Definition at line 61 of file make_512.cpp.

◆ _YMM3

const uint64 _YMM3 = 0

Definition at line 86 of file make_512.cpp.

◆ _ZMM

const uint64 _ZMM = 1ULL << 44

Definition at line 79 of file make_512.cpp.

◆ _ZMM2

const uint64 _ZMM2 = 1ULL << 45

Definition at line 80 of file make_512.cpp.

◆ AL

const uint64 AL = 1ULL << 13

Definition at line 25 of file make_512.cpp.

◆ AX

const uint64 AX = 1ULL << 12

Definition at line 24 of file make_512.cpp.

◆ bitEnd

const int bitEnd = 64

Definition at line 10 of file make_512.cpp.

◆ EAX

const uint64 EAX = 1ULL << 4

Definition at line 16 of file make_512.cpp.

◆ IMM

const uint64 IMM = IMM_1 | IMM_2

Definition at line 75 of file make_512.cpp.

◆ IMM32

const uint64 IMM32 = 1ULL << 5

Definition at line 17 of file make_512.cpp.

◆ IMM8

const uint64 IMM8 = 1ULL << 6

Definition at line 18 of file make_512.cpp.

◆ IMM_1

const uint64 IMM_1 = 1ULL << 14

Definition at line 26 of file make_512.cpp.

◆ IMM_2

const uint64 IMM_2 = 1ULL << 38

Definition at line 74 of file make_512.cpp.

◆ K

const uint64 K = 1ULL << 43

Definition at line 78 of file make_512.cpp.

◆ K2

const uint64 K2 = 1ULL << 47

Definition at line 88 of file make_512.cpp.

◆ K_K

const uint64 K_K = 1ULL << 20

Definition at line 31 of file make_512.cpp.

◆ M_1to16

const uint64 M_1to16 = 1ULL << 59

Definition at line 108 of file make_512.cpp.

◆ M_1to2

const uint64 M_1to2 = 1ULL << 56

Definition at line 105 of file make_512.cpp.

◆ M_1to4

const uint64 M_1to4 = 1ULL << 57

Definition at line 106 of file make_512.cpp.

◆ M_1to8

const uint64 M_1to8 = 1ULL << 58

Definition at line 107 of file make_512.cpp.

◆ M_xword

const uint64 M_xword = 1ULL << 61

Definition at line 110 of file make_512.cpp.

◆ M_yword

const uint64 M_yword = 1ULL << 62

Definition at line 111 of file make_512.cpp.

◆ MEM

const uint64 MEM = _MEM | _MEMe

Definition at line 70 of file make_512.cpp.

◆ MEM16

const uint64 MEM16 = 1ULL << 16

Definition at line 28 of file make_512.cpp.

◆ MEM32

const uint64 MEM32 = 1ULL << 17

Definition at line 29 of file make_512.cpp.

◆ MEM64

const uint64 MEM64 = 1ULL << 35

Definition at line 71 of file make_512.cpp.

◆ MEM8

const uint64 MEM8 = 1ULL << 15

Definition at line 27 of file make_512.cpp.

◆ MEM_K

const uint64 MEM_K = 1ULL << 55

Definition at line 104 of file make_512.cpp.

◆ MEM_ONLY_DISP

const uint64 MEM_ONLY_DISP = 1ULL << 21

Definition at line 32 of file make_512.cpp.

◆ MY_1to4

const uint64 MY_1to4 = 1ULL << 18

Definition at line 112 of file make_512.cpp.

◆ NOPARA

const uint64 NOPARA = 1ULL << (bitEnd - 1)

Definition at line 114 of file make_512.cpp.

◆ REG16

const uint64 REG16 = _REG16 | REG16_2 | AX

Definition at line 67 of file make_512.cpp.

◆ REG16_2

const uint64 REG16_2 = 0

Definition at line 55 of file make_512.cpp.

◆ REG32

const uint64 REG32 = _REG32 | REG32_2 | EAX

Definition at line 66 of file make_512.cpp.

◆ REG32_2

const uint64 REG32_2 = 0

Definition at line 54 of file make_512.cpp.

◆ REG32e

const uint64 REG32e = REG32 | REG64

Definition at line 68 of file make_512.cpp.

◆ REG64

const uint64 REG64 = _REG64 | _REG64_2

Definition at line 65 of file make_512.cpp.

◆ REG8

const uint64 REG8 = _REG8 | REG8_2|AL

Definition at line 69 of file make_512.cpp.

◆ REG8_2

const uint64 REG8_2 = 0

Definition at line 56 of file make_512.cpp.

◆ REG8_3

const uint64 REG8_3 = 0

Definition at line 57 of file make_512.cpp.

◆ VM32X

const uint64 VM32X = VM32X_32

Definition at line 62 of file make_512.cpp.

◆ VM32X_32

const uint64 VM32X_32 = 1ULL << 39

Definition at line 35 of file make_512.cpp.

◆ VM32X_64

const uint64 VM32X_64 = 1ULL << 40

Definition at line 36 of file make_512.cpp.

◆ VM32X_K

const uint64 VM32X_K = 1ULL << 23

Definition at line 33 of file make_512.cpp.

◆ VM32Y

const uint64 VM32Y = VM32Y_32

Definition at line 63 of file make_512.cpp.

◆ VM32Y_32

const uint64 VM32Y_32 = 1ULL << 41

Definition at line 37 of file make_512.cpp.

◆ VM32Y_64

const uint64 VM32Y_64 = 1ULL << 42

Definition at line 38 of file make_512.cpp.

◆ VM32Y_K

const uint64 VM32Y_K = 1ULL << 37

Definition at line 73 of file make_512.cpp.

◆ VM32Z

const uint64 VM32Z = 1ULL << 19

Definition at line 30 of file make_512.cpp.

◆ VM32Z_K

const uint64 VM32Z_K = 1ULL << 32

Definition at line 39 of file make_512.cpp.

◆ XMM

const uint64 XMM = _XMM | _XMM2

Definition at line 76 of file make_512.cpp.

◆ XMM_ER

const uint64 XMM_ER = 1ULL << 60

Definition at line 109 of file make_512.cpp.

◆ XMM_K

const uint64 XMM_K = 1ULL << 9

Definition at line 21 of file make_512.cpp.

◆ XMM_KZ

const uint64 XMM_KZ = 0

Definition at line 100 of file make_512.cpp.

◆ XMM_SAE

const uint64 XMM_SAE = 1ULL << 51

Definition at line 94 of file make_512.cpp.

◆ YMM

const uint64 YMM = _YMM | _YMM2

Definition at line 77 of file make_512.cpp.

◆ YMM_ER

const uint64 YMM_ER = 1ULL << 36

Definition at line 72 of file make_512.cpp.

◆ YMM_K

const uint64 YMM_K = 1ULL << 10

Definition at line 22 of file make_512.cpp.

◆ YMM_KZ

const uint64 YMM_KZ = 0

Definition at line 101 of file make_512.cpp.

◆ YMM_SAE

const uint64 YMM_SAE = 1ULL << 0

Definition at line 12 of file make_512.cpp.

◆ ZMM

const uint64 ZMM = _ZMM

Definition at line 85 of file make_512.cpp.

◆ ZMM_ER

const uint64 ZMM_ER = 1ULL << 49

Definition at line 90 of file make_512.cpp.

◆ ZMM_K

const uint64 ZMM_K = 1ULL << 11

Definition at line 23 of file make_512.cpp.

◆ ZMM_KZ

const uint64 ZMM_KZ = 0

Definition at line 102 of file make_512.cpp.

◆ ZMM_SAE

const uint64 ZMM_SAE = 1ULL << 48

Definition at line 89 of file make_512.cpp.