Support crc32 as a i386 target optimization node
authorMartin Liska <mliska@suse.cz>
Fri, 23 Sep 2016 07:57:07 +0000 (09:57 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 23 Sep 2016 07:57:07 +0000 (07:57 +0000)
commitfab18cc4f7149a3b39d3b3055af03013f01ac554
treec82e1b35e23bbff0889120c456334f936e338cbd
parente70f01b561a3d65baba2c981a4e162967e41285f
Support crc32 as a i386 target optimization node

* config/i386/i386.c (ix86_valid_target_attribute_inner_p):
Handle crc32.
* gcc.target/i386/crc32-5.c: New test.

From-SVN: r240393
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/crc32-5.c [new file with mode: 0644]