Added few temporary generated files...
This commit is contained in:
parent
b3d460d675
commit
3b6cb610a7
18446
tool/flatten.asm
Normal file
18446
tool/flatten.asm
Normal file
File diff suppressed because it is too large
Load Diff
@ -9,14 +9,14 @@ static char * faa [] = {
|
||||
};
|
||||
|
||||
static char * fr [] = {
|
||||
"rax", "rcx", "rdx", "rbx", "rsp", "rbp", "rsi", "rdi",
|
||||
"r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",
|
||||
"eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi",
|
||||
"r8d", "r9d", "r10d", "r11d", "r12d", "r13d", "r14d", "r15d",
|
||||
"al", "cl", "dl", "bl", "spl", "bpl", "sil", "dil",
|
||||
"r8b", "r9b", "r10b", "r11b", "r12b", "r13b", "r14b", "r15b",
|
||||
"ax", "cx", "dx", "bx", "sp", "bp", "si", "di",
|
||||
"r8w", "r9w", "r10w", "r11w", "r12w", "r13w", "r14w", "r15w",
|
||||
"al", "cl", "dl", "bl", "spl", "bpl", "sil", "dil",
|
||||
"r8b", "r9b", "r10b", "r11b", "r12b", "r13b", "r14b", "r15b"
|
||||
"eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi",
|
||||
"r8d", "r9d", "r10d", "r11d", "r12d", "r13d", "r14d", "r15d",
|
||||
"rax", "rcx", "rdx", "rbx", "rsp", "rbp", "rsi", "rdi",
|
||||
"r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15"
|
||||
};
|
||||
|
||||
static char * fm [] = {
|
||||
@ -24,7 +24,7 @@ static char * fm [] = {
|
||||
};
|
||||
|
||||
static char * fi [] = {
|
||||
"11223344h", "11223344h", "1122h", "11h", // "1122334455667788h",
|
||||
"11h", "1122h", "11223344h", "11223344h"
|
||||
};
|
||||
|
||||
int main (void) {
|
||||
@ -38,14 +38,16 @@ int main (void) {
|
||||
printf ("nop\n");
|
||||
|
||||
// INR REG REG
|
||||
//~for (a = 0; a < (int) (sizeof (faa) / sizeof (* faa)); ++a) {
|
||||
//~for (w = 0; w < 4; ++w) {
|
||||
//~for (d = 0; d < 16; ++d) {
|
||||
//~printf ("nop\n");
|
||||
//~printf ("%s %s\n", faa [a], fr [d + 16 * w]);
|
||||
//~}
|
||||
//~}
|
||||
//~}
|
||||
for (a = 0; a < (int) (sizeof (fa) / sizeof (* fa)); ++a) {
|
||||
for (w = 0; w < 4; ++w) {
|
||||
for (d = 0; d < 16; ++d) {
|
||||
for (s = 0; s < 16; ++s) {
|
||||
printf ("nop\n");
|
||||
printf ("%s %s, %s\n", fa [a], fr [d + 16 * w], fr [s + 16 * w]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// INR REG IMM
|
||||
for (a = 0; a < (int) (sizeof (fa) / sizeof (* fa)); ++a) {
|
||||
|
9216
tool/include.txt
Normal file
9216
tool/include.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
static char * fw [] = {
|
||||
"D64", "D32", "D16", "D8"
|
||||
"D8", "D16", "D32", "D64"
|
||||
};
|
||||
|
||||
static char * fa [] = {
|
||||
@ -18,12 +18,22 @@ static char * fr [] = {
|
||||
};
|
||||
|
||||
static char * fi [] = {
|
||||
"IMM, 0x11223344", "IMM, 0x11223344", "IMM, 0x1122", "IMM, 0x11", //, "IMM, 0x1122334455667788",
|
||||
"IMM, 0x11", "IMM, 0x1122", "IMM, 0x11223344", "IMM, 0x11223344"
|
||||
};
|
||||
|
||||
int main (void) {
|
||||
int a, w, t, d, f, s;
|
||||
|
||||
for (a = 0; a < (int) (sizeof (fa) / sizeof (* fa)); ++a) {
|
||||
for (w = 0; w < 4; ++w) {
|
||||
for (d = 0; d < 16; ++d) {
|
||||
for (s = 0; s < 16; ++s) {
|
||||
printf ("NOP, %s, %s, %s, %s,\n", fa [a], fw [w], fr [d], fr [s]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (a = 0; a < (int) (sizeof (fa) / sizeof (* fa)); ++a) {
|
||||
for (w = 0; w < 4; ++w) {
|
||||
for (d = 0; d < 16; ++d) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user