Git Product home page Git Product logo

Comments (4)

mmozeiko avatar mmozeiko commented on May 31, 2024

Did you enable AESNI instruction support in command-line arguments? -maes ?

from meow_hash.

mikethecalamity avatar mikethecalamity commented on May 31, 2024

I did not, but that gave me less errors!

Now I only get 2 of:

In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/x86intrin.h:39:0,
                 from meow_hash_x64_aesni.h:131,
                 from program.cpp:49:
/usr/lib/gcc/x86_64-linux-gnu/7/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from program.cpp:49:0:
meow_hash_x64_aesni.h:174:25: note: called from here
 #define pshufb(A, B)  A = _mm_shuffle_epi8(A, B)
                         ^
meow_hash_x64_aesni.h:356:9: note: in expansion of macro ‘pshufb’
         pshufb(xmm9, xmm10);
         ^~~~~~

from meow_hash.

mmozeiko avatar mmozeiko commented on May 31, 2024

This is SSSE3 instruction. Add -mssse3. Note that this will allow GCC to generate SSSE3 instructions for other code in translation unit to which mssse3 is applied. So your binary will run only on SSSE3 capable CPU's.

from meow_hash.

mikethecalamity avatar mikethecalamity commented on May 31, 2024

That worked! Thank you.

from meow_hash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.