Commit Graph

34048 Commits

Author SHA1 Message Date
Benjamin Kosnik bc4f48d775 istream.tcc (basic_istream<_CharT, [...]): Fix typo.
2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
	operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
	Fix typo.

From-SVN: r40417
2001-03-12 18:30:29 +00:00
Peter Schmid 8f9995782e stl_hashtable.h: Change type of __n to size_t
2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * include/ext/stl_hashtable.h: Change type of __n to size_t
        * include/backward/bvector.h: Include <ext/stl_bvector.h>

From-SVN: r40416
2001-03-12 18:18:34 +00:00
Nathan Sidwell 78fe06c245 call.c (convert_like_real): Add extra semantics to INNER parameter.
cp:
	* call.c (convert_like_real): Add extra semantics to INNER
	parameter. Don't convert to temporary if a user conversion
	gives us an lvalue that we're about to bind to a reference.
	Set INNER to indicate pending reference binding on recursive
	calls.
testsuite:
	* g++.old-deja/g++.other/ref4.C: New test.

From-SVN: r40415
2001-03-12 15:43:52 +00:00
Jan Hubicka 99560e26f8 i386.md (trunctfdf2_2): Rename missnamed pattern.
* i386.md (trunctfdf2_2): Rename missnamed pattern.
	(*_one_bit): Remove type on the match_operand in attributes.

From-SVN: r40414
2001-03-12 15:34:59 +00:00
Jan Hubicka 3d117b3033 i386.c: Commit forgotten hunk in previous patch.
* i386.c: Commit forgotten hunk in previous patch.
	(regclass_map): Add extended registers.
	(dbx_register_map): Add missing frame register.

From-SVN: r40413
2001-03-12 15:31:51 +00:00
Jan Hubicka 1e07edd315 i386.md (all XFmode patterns except swapxf): Disable for 64bit.
* i386.md (all XFmode patterns except swapxf): Disable for 64bit.

	* i386.md (x86_sahf_1): Disable for 64bit.
	(popsi*, pophi*): Likewise.
	(pushqi, pushhi): Likewise.
	(movdi, pushdi): Likewise.
	(zero extend DImode splitter): Likewise.
	(adddi, minusdi splitter): Likewise.
	(umulsidi): Likewise.
	(umulsi): New.
	(mulsidi): Disable for 64bit
	(lshift:DI/ashift:DI): Disable for 64bit.
	(loop patterns): Likewise.
	(call_pop, call_value_pop expanders and patterns): Likewise.
	(prologue_get_pc): Likewise.
	(leave): Likewise.
	(fcmovDI pattern and splitter): Likewise.
	(movdfcc_1_rex64): New.

From-SVN: r40412
2001-03-12 14:44:52 +00:00
Jan Hubicka d28362735b i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
* i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
	(MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
	(HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
	(STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
	(PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
	(LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
	(SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
	(PUSH_ROUNDING): x86_64 rounds to 64bits.
	(CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
	(REGPARM_MAX): Set to 6 for x86_64.
	(SSE_REGPARM_MAX): Set to 16 for x86_64.
	* i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
	registers.

	* (patterns that does use upper halves): Update constraints
	'q' to 'Q' and 'r' to 'R'.
	(cmpqi_ext_1): Disable for 64bit.
	(cmpqi_ext_3_insn): Likewise.
	(movqi_extzv_1): Likewsie.
	(addqi_ext_1): Liekwsie
	(testqi_ext_1): Liekwsie
	(andqi_ext_1): Liekwsie
	(xorqi_ext_1): Liekwsie
	(cmpqi_ext_1_rex64): New.
	(cmpqi_ext_3_insn_rex64): Likewise.
	(movqi_extzv_1_rex64): Likewsie.
	(addqi_ext_1_rex64): Liekwsie
	(testqi_ext_1_rex64): Liekwsie
	(andqi_ext_1_rex64): Liekwsie
	(xorqi_ext_1_rex64): Liekwsie

From-SVN: r40411
2001-03-12 14:18:57 +00:00
GCC Administrator 6336e96f4e Daily bump.
From-SVN: r40405
2001-03-12 08:16:09 +00:00
Bryce McKinlay e52335a982 ExceptionInInitializerError.java (printStackTrace): Only try to print the subordinate stack trace if "exception" is set.
* java/lang/ExceptionInInitializerError.java (printStackTrace):
	Only try to print the subordinate stack trace if "exception" is set.
	Print our class name first.

From-SVN: r40404
2001-03-12 07:47:13 +00:00
Bryce McKinlay 456c0b60ad Runtime.java (_exit): Declare new package-private native.
2001-03-12  Bryce McKinlay  <bryce@albatross.co.nz>

	* java/lang/Runtime.java (_exit): Declare new package-private native.
	* java/lang/natRuntime.cc (_exit): Implemented. Same as exit() but
	without a security manager check.
	(exit): Call _exit after security check.
	* prims.cc (JvRunMain): Call Runtime._exit to shutdown the runtime
	"naturally".
	* java/lang/System.java (setSecurityManager): If a security manager
	is already in place, call checkPermission.
	* java/lang/ThreadGroup.java (uncaughtException): If printStackTrace()
	throws an exception, try to deal with it gracefully.
	* java/lang/ExceptionInInitializerError.java (printStackTrace):
	Only try to print the subordinate stack trace if "exception" is set.
	Print our class name first.

From-SVN: r40401
2001-03-12 07:40:17 +00:00
Zack Weinberg 9612ab65bd configure.in: Move check for unsigned enumerated bitfields to macro in aclocal.m4.
* configure.in: Move check for unsigned enumerated bitfields
	to macro in aclocal.m4.  Disable it for now.
	* configure, config.in: Regenerate.
	* system.h: Don't do anything with ONLY_INT_FIELDS.  Use the
	unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
	* varasm.c (struct rtx_const): Use ENUM_BITFIELD().  Move enum
	kind above its first use.

	* config/xm-interix.h, config/alpha/xm-alpha.h,
	config/i370/xm-linux.h, config/i386/xm-beos.h,
	config/i386/xm-mingw32.h, config/mips/xm-mips.h,
	config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
	config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
	Don't define ONLY_INT_FIELDS under any circumstances.

	* config/pa/xm-pa.h: Don't define __BSD_NET2__.

	* config/pa/xm-pahpux.h, config/pa/xm-papro.h,
	config/sparc/xm-sysv4.h: Delete - now identical with some
	other xm header.
	* config.gcc (hppa targets): Replace xm-pahpux.h and
	xm-papro.h with implicit xm-pa.h.
	(sparc targets): Replace xm-sysv4.h with implicit or explicit
	xm-sparc.h.

From-SVN: r40399
2001-03-12 06:31:41 +00:00
Ovidiu Predescu 533dfde023 va_method.m: Added.
2001-03-11  Nicola Pero <n.pero@mi.flashnet.it>

	* objc/execute/va_method.m: Added.
	* objc/execute/IMP.m: Added.
	* objc/execute/_cmd.m: Added.
	* objc/execute/accessing_ivars.m: Added.
	* objc/execute/class-1.m: Added.
	* objc/execute/class-10.m: Added.
	* objc/execute/class-11.m: Added.
	* objc/execute/class-12.m: Added.
	* objc/execute/class-13.m: Added.
	* objc/execute/class-14.m: Added.
	* objc/execute/class-2.m: Added.
	* objc/execute/class-3.m: Added.
	* objc/execute/class-4.m: Added.
	* objc/execute/class-5.m: Added.
	* objc/execute/class-6.m: Added.
	* objc/execute/class-7.m: Added.
	* objc/execute/class-8.m: Added.
	* objc/execute/class-9.m: Added.
	* objc/execute/class-tests-1.h
	* objc/execute/class-tests-2.h
	* objc/execute/compatibility_alias.m: Added.
	* objc/execute/encode-1.m: Added.
	* objc/execute/formal_protocol-1.m: Added.
	* objc/execute/formal_protocol-2.m: Added.
	* objc/execute/formal_protocol-3.m: Added.
	* objc/execute/formal_protocol-4.m: Added.
	* objc/execute/formal_protocol-5.m: Added.
	* objc/execute/formal_protocol-6.m: Added.
	* objc/execute/formal_protocol-7.m: Added.
	* objc/execute/informal_protocol.m: Added.
	* objc/execute/initialize.m: Added.
	* objc/execute/load.m: Added.
	* objc/execute/many_args_method.m: Added.
	* objc/execute/nested-3.m: Added.
	* objc/execute/no_clash.m: Added.
	* objc/execute/private.m: Added.
	* objc/execute/redefining_self.m: Added.
	* objc/execute/root_methods.m: Added.
	* objc/execute/selector-1.m: Added.
	* objc/execute/static-1.m: Added.
	* objc/execute/static-2.m: Added.
	* objc/execute/va_method.m: Added.

From-SVN: r40398
2001-03-12 06:26:40 +00:00
Ovidiu Predescu 5b57aeabb6 Added.
From-SVN: r40397
2001-03-12 06:24:50 +00:00
Aldy Hernandez d5ae21aace Call reload_cse_simplify_set before reload_cse_noop_set_p
From-SVN: r40394
2001-03-12 04:30:56 +00:00
Zack Weinberg 190c4cb481 config.gcc: Where xm-host.h used to include another xm-host.h...
* config.gcc: Where xm-host.h used to include another
	xm-host.h, list the nested header directly in xm_file.  Remove
	references to deleted files.  Can now use sparc/xm-sp64.h for
	sparcv9-*-solaris*.

	* config/xm-linux.h, config/arm/xm-linux.h,
	config/i386/xm-dos.h, config/i386/xm-gnu.h,
	config/i386/xm-linux.h, config/i386/xm-openbsd.h,
	config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
	config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
	config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
	Delete.

	* config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
	* config/mips/xm-iris5.h: Don't include mips/xm-mips.h.  Don't
	bother to wrap #undef in #ifdef.
	* config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
	Don't include xm-linux.h.
	* config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.

	* configure.in: Wrap regexps using [] in changequote block.
	Use expr : not echo | grep.  Simplify regexps.
	* configure: Regenerate.

	56 xm-files remain, 22 xm-arch.

From-SVN: r40392
2001-03-12 03:29:54 +00:00
Kaveh R. Ghazi 45a647bee9 mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
* mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
	(__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
	(local_index, local_rindex): Delete, use strchr/strrchr instead.
	(copy_object): Fix format specifier vs argument mismatch.

	* mips-tdump.c: Make local functions static.
	(rindex): Don't #undef.
	(__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
	(fatal, fancy_abort): Delete.
	(read_seek): Avoid signed/unsigned compare.

From-SVN: r40391
2001-03-12 02:37:56 +00:00
Richard Kenner c7ca5912e3 combine.c (try_combine): Fix error in change to try original register.
* combine.c (try_combine): Fix error in change to try original
	register.
	(gen_rtx_combine): Do same as gen_rtx for now.

From-SVN: r40390
2001-03-11 17:08:12 -05:00
Zack Weinberg 3d9d247676 configure.in: AC_SUBST xm_defines.
* configure.in: AC_SUBST xm_defines.
	* configure: Regenerate.
	* Makefile.in: Set DEFINES=$(xm_defines) when building
	tconfig.h.

From-SVN: r40389
2001-03-11 21:19:11 +00:00
Neil Booth b6464a73f5 cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
* cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
	(cpp_included, find_include_file): Update.
	(_cpp_compare_file_date): Make else unconditional.

From-SVN: r40388
2001-03-11 14:54:56 +00:00
GCC Administrator a72ac6ef35 Daily bump.
From-SVN: r40387
2001-03-11 08:16:40 +00:00
Alexandre Oliva 79664856ef Added blank line.
From-SVN: r40385
2001-03-11 02:48:16 +00:00
Kaz Kojima 2cef831c12 * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
From-SVN: r40384
2001-03-11 02:24:17 +00:00
Toshiyasu Morita e9a9e960c0 sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
* config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
* config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.

From-SVN: r40381
2001-03-11 02:16:40 +00:00
Ovidiu Predescu 2b9650f432 MAINTAINERS: Added Stan Shebs as new maintainer for Objective-C.
2001-03-10  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* MAINTAINERS: Added Stan Shebs as new maintainer for Objective-C.

From-SVN: r40380
2001-03-11 02:08:36 +00:00
Ovidiu Predescu fad2d0334d Added Stan Shebs as new maintainer for Objective-C.
From-SVN: r40379
2001-03-11 02:08:07 +00:00
Richard Henderson bb93785303 * g++.old-deja/g++.oliva/delete3.C (main): Catch the exception.
From-SVN: r40377
2001-03-10 17:56:54 -08:00
Alexandre Oliva 066c84df53 tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node if it's a record type.
* tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
if it's a record type.

From-SVN: r40376
2001-03-11 01:46:24 +00:00
Christopher Faylor d4829a16b1 remove duplication.
From-SVN: r40374
2001-03-11 01:02:50 +00:00
Christopher Faylor 936ee79028 cygwin.h: Make ../w32api a system directory.
* config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize mingw
includes slightly.

From-SVN: r40372
2001-03-11 00:12:12 +00:00
Kaveh R. Ghazi 8a0e5115f4 system.h (malloc, [...]): #undef token before poisoning it.
* system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
	#undef token before poisoning it.

From-SVN: r40371
2001-03-10 22:35:01 +00:00
Kaveh R. Ghazi 6439a1f204 alpha.c (check_float_value): Use memcpy, not bcopy.
* alpha.c (check_float_value): Use memcpy, not bcopy.

	* m32r.c (m32r_sched_reorder): Likewise.

	* vax.c (check_float_value): Likewise.

From-SVN: r40370
2001-03-10 21:45:40 +00:00
Neil Booth b3e68a7922 toplev.c (file_name_nondirectory): Remove.
* toplev.c (file_name_nondirectory): Remove.
	* toplev.h: Similarly.
	* dwarf2out.c (compute_section_prefix): Use lbasename instead
	of file_name_nondirectory.
	* cp/lex.c: Delete duplicate pending_lang_change.
	* cp/lex.c (handle_pragma_interface, handle_pragma_implementation):
	Similarly.
	* cp/repo.c (get_base_filename, open_repo_file): Similarly.
	* cp/cp-tree.h: Remove file_name_nondirectory prototype.

From-SVN: r40369
2001-03-10 16:33:57 +00:00
Richard Kenner ea23d5400f mips-tdump.c (read_seek): Call xmalloc, not malloc.
* mips-tdump.c (read_seek): Call xmalloc, not malloc.
	* mips-tfile.c: Don't #undef rindex; not used.

From-SVN: r40366
2001-03-10 10:36:25 -05:00
Jan Hubicka 0f7fa3d01f i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
* i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
	(dbx64_register_map): Declare.
	(RETURN_ADDR_RTX): Fix for 64bit.
	(DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
	(INCOMING_FRAME_SP_OFFSET): Set to 8.
	* i386.c (dbx64_register_map): New global array.
	* beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
	linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
	for 64bits.

From-SVN: r40365
2001-03-10 13:36:26 +00:00
Neil Booth 2251fd7866 cppfiles.c (search_from): Use lbasename.
* cppfiles.c (search_from): Use lbasename.
	* mkdeps.c (deps_add_default_target): Use lbasename.

From-SVN: r40364
2001-03-10 10:43:52 +00:00
Neil Booth 2b757d5101 lbasename.c: New file.
* libiberty/lbasename.c: New file.
	* libiberty/Makefile.in: Update for lbasename.
	* include/libiberty.h: Add lbasename.

Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>

From-SVN: r40363
2001-03-10 10:41:25 +00:00
GCC Administrator 5ed3d577ed Daily bump.
From-SVN: r40362
2001-03-10 08:16:39 +00:00
Kaveh R. Ghazi f4ce9d9067 server.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of malloc, realloc & calloc.
* fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
	xcalloc in lieu of malloc, realloc & calloc.

	* gencheck.c (xmalloc): Use really_call_malloc, not malloc.

	* gengenrtl.c (xmalloc): Likewise.

	* gensupport.c (xcalloc, xrealloc, xmalloc): Use the
	really_call_* memory allocation routines.

	* stmt.c (check_for_full_enumeration_handling): Use
	really_call_calloc, not calloc.

	* system.h (really_call_malloc, really_call_calloc,
	really_call_realloc): Define.
	(malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.

f:
	* fini.c (main): Use really_call_malloc, not malloc.

From-SVN: r40360
2001-03-10 04:20:03 +00:00
Jeffrey A Law 0eac29848b * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
From-SVN: r40359
2001-03-09 18:37:39 -07:00
Benjamin Kosnik 0e061da691 [multiple changes]
2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

	* include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
	operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
	Use streamsize, not int_type.

2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/27_io/streambuf.cc (test06): New test, disabled at the
	moment.

From-SVN: r40358
2001-03-10 01:36:23 +00:00
Nicola Pero 4698d2cf4b configure.in: Only use `lang_requires' for languages athat are actually enabled.
2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>

	* configure.in: Only use `lang_requires' for languages athat are
	actually enabled.

From-SVN: r40356
2001-03-10 00:20:21 +00:00
Nicola Pero 1bf17cc4d6 configure: Rebuilt.
2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>

	* configure: Rebuilt.
	* configure.in: Only use `lang_requires' for languages athat are
	actually enabled.

From-SVN: r40355
2001-03-10 00:19:37 +00:00
Joseph Myers 2d2ade2a3f crontab, [...]: New files (as currently used by gccadmin).
* crontab, doc_exclude, update_branch_version, update_version,
	update_web_docs: New files (as currently used by gccadmin).
	* README: New file.

From-SVN: r40352
2001-03-10 00:08:50 +00:00
Joseph Myers 6ca3ad1bc5 invoke.texi: Fix typo.
* invoke.texi: Fix typo.
	* gcc.1: Regenerate.

From-SVN: r40351
2001-03-09 21:57:48 +00:00
Zack Weinberg 11642c3a7c configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
	xm_file, and host_xm_file lists.  Warn unless they're
	$cpu/xm-$cpu.h.
	Don't generate *config.h here.
	AC_SUBST all variables needed to generate *config.h.
	* configure: Regenerate.
	* mkconfig.sh: New helper script, from code removed from
	configure.in.
	* Makefile.in: Zap all MALLOC variables - no longer used
	anywhere, and malloc.c doesn't exist.
	Substitute in variables needed to generate *config.h.
	Stop lying about the dependencies contained in CONFIG_H and
	GCONFIG_H.
	(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
	(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
	cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
	(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
	$(TM_P_H), etc. as appropriate.

	* config.gcc: Zap references to deleted files.
	* ggc-none.c: Don't include rtl.h or tm_p.h.

	* config/i386/xm-beos.h, config/i386/xm-dgux.h,
	config/i386/xm-djgpp.h, config/i386/xm-dos.h,
	config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
	config/i386/xm-linux.h, config/i386/xm-linux.h,
	config/i386/xm-next.h, config/i386/xm-openbsd.h,
	config/i386/xm-sun.h, config/i386/xm-sysv3.h:
	Don't include i386/xm-i386.h.

	* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
	config/i386/xm-i386.h, config/i860/xm-i860.h,
	config/i960/xm-i960.h, config/mcore/xm-mcore.h,
	config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
	config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
	Delete (empty except comments, #includes of other deleted
	files, and macros used nowhere).
cp:
	* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.

From-SVN: r40350
2001-03-09 20:53:56 +00:00
Jan Hubicka 2faf6b9622 i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp independent on TARGET_FLAGS.
* i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
	independent on TARGET_FLAGS.

From-SVN: r40349
2001-03-09 19:09:21 +00:00
Jan Hubicka 3f3f21243b i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
* i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
	(FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add extended ones.
	(CONDITIONAL_REGISTER_USAGE): Set proper values according to TARGET_64BIT.
	(FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG, LAST_REX_SSE_REG):
	define.
	(enum reg_class): Add 'LEGACY_REGS'
	(REG_CLASS_CONTENTS): Likewise; add extended registers.
	(SSE_REGNO_P): Recognize extended registers.
	(ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
	(REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
	(REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_NONSTRICT_P):
	 Recognize REX registers.
	(REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
	 REG_OK_FOR_STRREG_P): Remove.
	(HI_REGISTER_NAMES): Add extended registers.
	(ADDITIONAL_REGISTER_NAMES): Likewise.
	(QI_REGISTER_NAMES): Add 8bit extended registers.
	(DEBUG_REG): Support extended registers.
	* i386.c (regclass_map): Add extended registers.
	(dbx_register-map): Likewise.
	(svr4_dbx_register_map): Likewise.
	(print_reg): Support extended registers.
	(print_operand): Support 64bit operands.

From-SVN: r40348
2001-03-09 18:55:27 +00:00
Jan Hubicka 65d9c0ab20 i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64 (BOOL_TYPE_SIZE...
* i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
	(BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
	 FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
	 DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
	(BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
	 STACK_BOUNDARY): Set properly for 64bits.
	(MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
	(EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
	(BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
	(MOVE_MAX): Set to 16.
	(MOVE_MAX_PIECES): 8 for 64bit.
	(Pmode): Set to SImode.

From-SVN: r40347
2001-03-09 18:45:59 +00:00
Mike Stump dc647e999c * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
From-SVN: r40346
2001-03-09 17:03:46 +00:00
Jan Hubicka 25f94bb5d3 i386.h (MASK_64BIT): New constant.
* i386.h (MASK_64BIT): New constant.
	(TARGET_64BIT): New macro.
	(TARGET_OPTIONS): Add '64'/'32'
	(TARGET_DEFAULT): Define.
	* cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h isccoff.h
	netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h unix.h win32.h
	(TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.

From-SVN: r40345
2001-03-09 16:40:43 +00:00