Re: [PATCH] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread Uros Bizjak via Gcc-patches
On Thu, Apr 15, 2021 at 6:26 PM H.J. Lu wrote: > > On Thu, Apr 15, 2021 at 9:14 AM Uros Bizjak wrote: > > > > On Thu, Apr 15, 2021 at 5:11 PM H.J. Lu wrote: > > > > > > Use crc32 target option for CRC32 intrinsics to support CRC32 intrinsics > > > without enabling SSE vector instructions. > > >

Re: [PATCH] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread H.J. Lu via Gcc-patches
On Thu, Apr 15, 2021 at 9:14 AM Uros Bizjak wrote: > > On Thu, Apr 15, 2021 at 5:11 PM H.J. Lu wrote: > > > > Use crc32 target option for CRC32 intrinsics to support CRC32 intrinsics > > without enabling SSE vector instructions. > > There is no CRC32 ISA. crc32 is part of SSE4.2 [1] and current >

Re: [PATCH] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread Uros Bizjak via Gcc-patches
On Thu, Apr 15, 2021 at 5:11 PM H.J. Lu wrote: > > Use crc32 target option for CRC32 intrinsics to support CRC32 intrinsics > without enabling SSE vector instructions. There is no CRC32 ISA. crc32 is part of SSE4.2 [1] and current situation reflects that correctly. [1] https://en.wikipedia.org/w

[PATCH] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread H.J. Lu via Gcc-patches
Use crc32 target option for CRC32 intrinsics to support CRC32 intrinsics without enabling SSE vector instructions. * config/i386/gnu-property.c (file_end_indicate_exec_stack_and_gnu_property): Also check TARGET_CRC32 for GNU_PROPERTY_X86_ISA_1_V2. * config/i386/i386