Commit a56f148c authored by Julius Nehring-Wirxel's avatar Julius Nehring-Wirxel
Browse files

Fixed MSVC intrinsics.

parent 01c687e3
Pipeline #13492 failed with stage
in 6 minutes and 19 seconds
typed-geometry @ b17d6d58
Subproject commit daa81a32c6d6303345f6a9ce5e07e41f645abf9c
Subproject commit b17d6d587082263216479aa183efa9a2b984b481
......@@ -241,10 +241,12 @@ void generate_mul_file()
file << "// This file was generated by generate_fixed_uint_multiplications.cc in TGSamples.\n\n";
file << "#include <immintrin.h>\n\n";
file << "#ifndef _MSC_VER\n";
file << "#ifdef _MSC_VER\n";
file << "#include <intrin.h>\n";
file << "#else\n";
file << "#include <x86intrin.h>\n";
file << "#endif\n\n";
file << "#include <typed-geometry/feature/fixed_uint.hh>\n\n";
file << "namespace tg::detail\n{\n";
file << "template <int w_res, class T0, class T1>\n";
......@@ -268,10 +270,12 @@ void generate_imul_file()
file << "// This file was generated by generate_fixed_uint_multiplications.cc in TGSamples.\n\n";
file << "#include <immintrin.h>\n\n";
file << "#ifndef _MSC_VER\n";
file << "#ifdef _MSC_VER\n";
file << "#include <intrin.h>\n";
file << "#else\n";
file << "#include <x86intrin.h>\n";
file << "#endif\n\n";
file << "#include <typed-geometry/feature/fixed_int.hh>\n\n";
file << "namespace tg::detail\n{\n";
file << "template <int w_res, class T0, class T1>\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment