Comments (4)
Did you enable AESNI instruction support in command-line arguments? -maes
?
from meow_hash.
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.
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.
That worked! Thank you.
from meow_hash.
Related Issues (20)
- Example program does not work on Windows HOT 9
- Use streaming construction to hash files HOT 2
- A Sun port i did on a whim, using the system compiler... HOT 3
- Benchmark Results From Ryzen 7 1700 1st Gen HOT 5
- dotnet (c#) bindings HOT 1
- How deterministic is Meow hash? HOT 4
- 256-bit variants HOT 13
- Consider using -mavx rather than -mavx2 in build.sh's build of meow_bench HOT 1
- Errors in contributors links
- MeowU64From only returns the first 64 bytes of the hash HOT 4
- .NET Core 3.1 port. HOT 2
- _ReadWriteBarrier() deprecated HOT 2
- Make input parameters const?
- Buffer overflow when size is not a multiple of 16 (ASan). HOT 2
- Full 128-bit collision between two files HOT 15
- 0.6 candidate patterns HOT 4
- Meow 0.6 candidate functions HOT 4
- Compare against xxHash HOT 2
- Suggestion: API for runtime AES instruction check
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meow_hash.