gcc/
2009-06-11 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (OPTION_MASK_ISA_CRC32_SET): New.
(OPTION_MASK_ISA_CRC32_UNSET): Likewise.
(ix86_handle_option): Handle OPT_mcrc32.
(ix86_target_string): Add -mcrc32.
(bdesc_args): Enable crc32 builtins with OPTION_MASK_ISA_CRC32.
* config/i386/i386.h (TARGET_CRC32): New.
* config/i386/i386.md (sse4_2_crc32<mode>): Also check
TARGET_CRC32.
(sse4_2_crc32di): Likewise.
* config/i386/i386.opt (mcrc32: New.
* doc/invoke.texi: Document -mcrc32.
gcc/testsuite/
2009-06-11 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/crc32-1.c: New.
* gcc.target/i386/crc32-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148410 138bc75d-0d04-0410-961f-82ee72b054a4