Re: Enable crc32 for armv7?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 28, 2016 at 4:56 AM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> 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.

Jeff




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux