aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_by_xed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_by_xed.cpp')
-rw-r--r--test/test_by_xed.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_by_xed.cpp b/test/test_by_xed.cpp
index 08dc8af..ddac779 100644
--- a/test/test_by_xed.cpp
+++ b/test/test_by_xed.cpp
@@ -1,10 +1,14 @@
#include <stdio.h>
#include <xbyak/xbyak.h>
+using namespace Xbyak;
+
struct Code : Xbyak::CodeGenerator {
Code()
+ : Xbyak::CodeGenerator(4096*8)
{
-#include "cpp.txt"
+ setDefaultEncoding(VexEncoding, EvexEncoding);
+#include "tmp.cpp"
}
};