MBG
MBG copied to clipboard
Error compiling on Mac
Hello,
I'm getting this error when compiling on my M1 Mac:
src/RankBitvector.cpp:9:10: error: unrecognized instruction mnemonic
__asm__("popcnt %0, %0" : "+r" (x));
^
<inline asm>:1:2: note: instantiated into assembly here
popcnt x0, x0
^
src/RankBitvector.cpp:9:10: error: unrecognized instruction mnemonic
__asm__("popcnt %0, %0" : "+r" (x));
^
<inline asm>:1:2: note: instantiated into assembly here
popcnt x9, x9
^
src/RankBitvector.cpp:9:10: error: unrecognized instruction mnemonic
__asm__("popcnt %0, %0" : "+r" (x));
^
<inline asm>:1:2: note: instantiated into assembly here
popcnt x10, x10
^
3 errors generated.
make: *** [obj/RankBitvector.o] Error 1
Any ideas?
Thanks, Max
Same errors, does MBG support macOS?