Commit 594dc048 by H.J. Lu Committed by H.J. Lu

i386.c (ix86_handle_option): Handle SSSE3.

2007-04-07  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_handle_option): Handle SSSE3.

From-SVN: r123639
parent dd56fe7c
2007-04-07 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_handle_option): Handle SSSE3.
2007-04-06 Daniel Berlin <dberlin@dberlin.org>
* tree.c (staticp): No longer use staticp langhook.
......
......@@ -1571,22 +1571,32 @@ ix86_handle_option (size_t code, const char *arg ATTRIBUTE_UNUSED, int value)
case OPT_msse:
if (!value)
{
target_flags &= ~(MASK_SSE2 | MASK_SSE3 | MASK_SSE4A);
target_flags_explicit |= MASK_SSE2 | MASK_SSE3 | MASK_SSE4A;
target_flags &= ~(MASK_SSE2 | MASK_SSE3 | MASK_SSSE3
| MASK_SSE4A);
target_flags_explicit |= (MASK_SSE2 | MASK_SSE3 | MASK_SSSE3
| MASK_SSE4A);
}
return true;
case OPT_msse2:
if (!value)
{
target_flags &= ~(MASK_SSE3 | MASK_SSE4A);
target_flags_explicit |= MASK_SSE3 | MASK_SSE4A;
target_flags &= ~(MASK_SSE3 | MASK_SSSE3 | MASK_SSE4A);
target_flags_explicit |= MASK_SSE3 | MASK_SSSE3 | MASK_SSE4A;
}
return true;
case OPT_msse3:
if (!value)
{
target_flags &= ~(MASK_SSSE3 | MASK_SSE4A);
target_flags_explicit |= MASK_SSSE3 | MASK_SSE4A;
}
return true;
case OPT_mssse3:
if (!value)
{
target_flags &= ~MASK_SSE4A;
target_flags_explicit |= MASK_SSE4A;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment