Enable crc32 for armv7?

Jeffrey Walton noloader@gmail.com
Fri Jul 29 14:39:00 GMT 2016

On Thu, Jul 28, 2016 at 4:56 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 28 July 2016 at 00:42, Jeffrey Walton wrote:
>> This is kind of weird, but I think there's a disconnect in my
>> understanding of things. CRC can be enabled with the following:
>> $ gcc -g3 -O0 -march=armv8-a+crc -mfpu=neon test.cc -o test.exe
>> $
>> However, the Crypto stuff fails to compile:
>> $ gcc -g3 -O0 -march=armv8-a+crc+crypto -mfpu=neon test.cc -o test.exe
>> gcc: error: unrecognized argument in option ‘-march=armv8-a+crc+crypto’
>> So the question becomes, how do I enable the Crypto extensions?
> Have you tried -mfpu=crypto-neon-fp-armv8 ?

No. I avoided it because the _fp_/-fp- signals single precision
floats, which this unit does not use.

But it turned out it was neded.


More information about the Gcc-help mailing list