invoke.texi: Remove documentation for MIPS' -mint64 option.

* doc/invoke.texi: Remove documentation for MIPS' -mint64 option.
	* config/mips/mips.c (TARGET_SCALAR_MODE_SUPPORTED_P): Delete.
	(mips_scalar_mode_supported_p): Delete.

cp/
	* mangle.c: Remove a reference to the MIPS -mint64 option.

From-SVN: r99348
This commit is contained in:
Richard Sandiford 2005-05-07 09:48:29 +00:00 committed by Richard Sandiford
parent 6e1141d738
commit 62d9f2e92b
5 changed files with 15 additions and 54 deletions

View File

@ -1,3 +1,9 @@
2005-05-07 Richard Sandiford <rsandifo@redhat.com>
* doc/invoke.texi: Remove documentation for MIPS' -mint64 option.
* config/mips/mips.c (TARGET_SCALAR_MODE_SUPPORTED_P): Delete.
(mips_scalar_mode_supported_p): Delete.
2005-05-06 Eric Christopher <echristo@redhat.com>
* config/mips/mips.opt: Remove -mint64 option.

View File

@ -357,7 +357,6 @@ static bool mips_callee_copies (CUMULATIVE_ARGS *, enum machine_mode mode,
static int mips_arg_partial_bytes (CUMULATIVE_ARGS *, enum machine_mode mode,
tree, bool);
static bool mips_valid_pointer_mode (enum machine_mode);
static bool mips_scalar_mode_supported_p (enum machine_mode);
static bool mips_vector_mode_supported_p (enum machine_mode);
static rtx mips_prepare_builtin_arg (enum insn_code, unsigned int, tree *);
static rtx mips_prepare_builtin_target (enum insn_code, unsigned int, rtx);
@ -820,9 +819,6 @@ const struct mips_cpu_info mips_cpu_info_table[] = {
#undef TARGET_VECTOR_MODE_SUPPORTED_P
#define TARGET_VECTOR_MODE_SUPPORTED_P mips_vector_mode_supported_p
#undef TARGET_SCALAR_MODE_SUPPORTED_P
#define TARGET_SCALAR_MODE_SUPPORTED_P mips_scalar_mode_supported_p
#undef TARGET_INIT_BUILTINS
#define TARGET_INIT_BUILTINS mips_init_builtins
#undef TARGET_EXPAND_BUILTIN
@ -7285,44 +7281,8 @@ mips_valid_pointer_mode (enum machine_mode mode)
return (mode == SImode || (TARGET_64BIT && mode == DImode));
}
/* Define this so that we can deal with a testcase like:
char foo __attribute__ ((mode (SI)));
then compiled with -mabi=64 and -mint64. We have no
32-bit type at that point and so the default case
always fails. */
static bool
mips_scalar_mode_supported_p (enum machine_mode mode)
{
switch (mode)
{
case QImode:
case HImode:
case SImode:
case DImode:
return true;
/* Handled via optabs.c. */
case TImode:
return TARGET_64BIT;
case SFmode:
case DFmode:
return true;
/* LONG_DOUBLE_TYPE_SIZE is 128 for TARGET_NEWABI only. */
case TFmode:
return TARGET_NEWABI;
default:
return false;
}
}
/* Target hook for vector_mode_supported_p. */
static bool
mips_vector_mode_supported_p (enum machine_mode mode)
{

View File

@ -1,3 +1,7 @@
2005-05-07 Richard Sandiford <rsandifo@redhat.com>
* mangle.c: Remove a reference to the MIPS -mint64 option.
2005-05-07 Kazu Hirata <kazu@cs.umass.edu>
* decl.c (wrapup_globals_for_namespace): Use VEC instead of

View File

@ -1773,11 +1773,10 @@ write_builtin_type (tree type)
type" with a name the form intN or uintN, respectively.
Situations like this can happen if you have an
__attribute__((__mode__(__SI__))) type and use exotic
switches like '-mint64' on MIPS or '-mint8' on AVR.
Of course, this is undefined by the C++ ABI (and
'-mint8' is not even Standard C conforming), but when
using such special options you're pretty much in nowhere
land anyway. */
switches like '-mint8' on AVR. Of course, this is
undefined by the C++ ABI (and '-mint8' is not even
Standard C conforming), but when using such special
options you're pretty much in nowhere land anyway. */
const char *prefix;
char prec[11]; /* up to ten digits for an unsigned */

View File

@ -9857,14 +9857,6 @@ support to be enabled.
Use (do not use) the MIPS-3D ASE@. @xref{MIPS-3D Built-in Functions}.
The option @option{-mips3d} implies @option{-mpaired-single}.
@item -mint64
@opindex mint64
Force @code{int} and @code{long} types to be 64 bits wide. See
@option{-mlong32} for an explanation of the default and the way
that the pointer size is determined.
This option has been deprecated and will be removed in a future release.
@item -mlong64
@opindex mlong64
Force @code{long} types to be 64 bits wide. See @option{-mlong32} for