[Bug target/101561] New: -msse4 -mno-crc32 doesn't disable CRC32 intrinsics

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 21 17:15:01 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101561

            Bug ID: 101561
           Summary: -msse4 -mno-crc32 doesn't disable CRC32 intrinsics
           Product: gcc
           Version: 11.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

[hjl@gnu-cfl-2 tmp]$ cat x.c
#include <immintrin.h>

unsigned int
test_mm_crc32_u8(unsigned int CRC, unsigned char V)
{
  return _mm_crc32_u8(CRC, V);
}   
[hjl@gnu-cfl-2 tmp]$ gcc -S -O2 -msse4 -mno-crc32 x.c
[hjl@gnu-cfl-2 tmp]$


More information about the Gcc-bugs mailing list