This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AVX CPU dispatching - based on Agner Fog's C++ vector class library: | |
// http://www.agner.org/optimize/vectorclass.zip | |
#include <stdio.h> | |
#include <stdbool.h> | |
//------------------------------------------------------------------------------ | |
//>> BEGIN <instrset.h> | |
// Detect 64 bit mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <windows.h> | |
using namespace std; | |
char image[0x800]; | |
int main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// public domain | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <string> | |
#include <vector> | |
#include <map> | |
#include <memory> | |
#include <windows.h> |