rs6000.c (rs6000_option_override_internal): Move test for clearing quad memory on 32-bit later.
2013-06-13 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/rs6000.c (rs6000_option_override_internal): Move test for clearing quad memory on 32-bit later. From-SVN: r200074
This commit is contained in:
parent
948a1fd936
commit
135faab69a
2 changed files with 15 additions and 10 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-06-13 Michael Meissner <meissner@linux.vnet.ibm.com>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_option_override_internal): Move
|
||||
test for clearing quad memory on 32-bit later.
|
||||
|
||||
2013-06-13 Marc Glisse <marc.glisse@inria.fr>
|
||||
|
||||
* fold-const.c (negate_expr_p): Handle VECTOR_CST.
|
||||
|
|
|
@ -2979,16 +2979,6 @@ rs6000_option_override_internal (bool global_init_p)
|
|||
}
|
||||
}
|
||||
|
||||
/* The quad memory instructions only works in 64-bit mode. In 32-bit mode,
|
||||
silently turn off quad memory mode. */
|
||||
if (TARGET_QUAD_MEMORY && !TARGET_POWERPC64)
|
||||
{
|
||||
if ((rs6000_isa_flags_explicit & OPTION_MASK_QUAD_MEMORY) != 0)
|
||||
warning (0, N_("-mquad-memory requires 64-bit mode"));
|
||||
|
||||
rs6000_isa_flags &= ~OPTION_MASK_QUAD_MEMORY;
|
||||
}
|
||||
|
||||
if (TARGET_DEBUG_REG || TARGET_DEBUG_TARGET)
|
||||
rs6000_print_isa_options (stderr, 0, "before defaults", rs6000_isa_flags);
|
||||
|
||||
|
@ -3046,6 +3036,16 @@ rs6000_option_override_internal (bool global_init_p)
|
|||
rs6000_isa_flags &= ~OPTION_MASK_VSX_TIMODE;
|
||||
}
|
||||
|
||||
/* The quad memory instructions only works in 64-bit mode. In 32-bit mode,
|
||||
silently turn off quad memory mode. */
|
||||
if (TARGET_QUAD_MEMORY && !TARGET_POWERPC64)
|
||||
{
|
||||
if ((rs6000_isa_flags_explicit & OPTION_MASK_QUAD_MEMORY) != 0)
|
||||
warning (0, N_("-mquad-memory requires 64-bit mode"));
|
||||
|
||||
rs6000_isa_flags &= ~OPTION_MASK_QUAD_MEMORY;
|
||||
}
|
||||
|
||||
if (TARGET_DEBUG_REG || TARGET_DEBUG_TARGET)
|
||||
rs6000_print_isa_options (stderr, 0, "after defaults", rs6000_isa_flags);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue