Merge commit '2201a0227297b9251717e44adc32554a51ca0ed6' as 'external/xbyak'

This commit is contained in:
2026-05-12 14:03:16 +02:00
146 changed files with 108693 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#include <stdio.h>
#include <xbyak/xbyak.h>
using namespace Xbyak;
struct Code : Xbyak::CodeGenerator {
Code()
: Xbyak::CodeGenerator(4096*8)
{
setDefaultEncodingAVX10(AVX10v2Encoding);
#include "tmp.cpp"
}
};
int main()
try
{
Code c;
FILE *fp = fopen("bin", "wb");
if (fp) {
fwrite(c.getCode(), 1, c.getSize(), fp);
fclose(fp);
}
} catch (std::exception& e) {
printf("ERR %s\n", e.what());
return 1;
}