about yasm
something like this?
Code:
diff --git a/Source.cpp b/Source.cpp
index 5409d6e..3dbd174 100644
--- a/Source.cpp
+++ b/Source.cpp
@@ -1,12 +1,13 @@
-#include "VapourSynth.h"
-#include "VSHelper.h"
-#include "cpufeatures.hpp"
+#include <VapourSynth.h>
+#include <VSHelper.h>
#include <cmath>
#include <cstring>
#include <algorithm>
#include <immintrin.h>
#include <malloc.h>
+extern "C++" int CPUFeatures();
+
struct FixFadesData final {
const VSAPI *vsapi = nullptr;
VSNodeRef *node = nullptr;
(you can avoid the first change)
but i get
https://sl1pkn07.wtf/paste/view/f32ca689
(takEN (XD) from
https://github.com/vapoursynth/vapou...ore/x86utils.h (with this help
http://wiki.osdev.org/C%2B%2B_to_ASM_linkage_in_GCC)
about of test, give me time