Age | Commit message (Collapse) | Author | Files | Lines |
|
2001-11-07 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (patch_assignment): Removed unused third argument.
(java_complete_lhs): Removed unused third argument to patch_assignment.
( http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00469.html )
From-SVN: r46834
|
|
* doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
for rs6000.
* config/rs6000/rs6000.h (MASK_ALTIVEC): New.
(TARGET_ALTIVEC): New.
(TARGET_SWITCHES): Add altivec.
(FIRST_PSEUDO_REGISTER): Change to 109.
(CALL_USED_REGISTERS): Same.
(FIRST_ALTIVEC_REGNO): New.
(LAST_ALTIVEC_REGNO): New.
(ALTIVEC_REGNO_P): New.
(UNITS_PER_ALTIVEC_WORD): New.
(ALTIVEC_VECTOR_MODE): New.
(FIXED_REGISTERS): Add altivec registers.
(REG_ALLOC_ORDER): Same.
(HARD_REGNO_NREGS): Adjust for altivec registers.
(HARD_REGNO_MODE_OK): Same.
(MODES_TIEABLE_P): Same.
(REGISTER_MOVE_COST): Same.
(REGNO_REG_CLASS): Same.
(reg_class): Add ALTIVEC_REGS.
(REG_CLASS_NAMES): Same.
(REG_CLASS_CONTENTS): Same.
(REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
(ALTIVEC_ARG_RETURN): New.
(FUNCTION_VALUE): Handle VECTOR_TYPE.
(LIBCALL_VALUE): Handle altivec vector modes.
(VECTOR_MODE_SUPPORTED_P): New.
(ALTIVEC_ARG_MIN_REG): New.
(ALTIVEC_ARG_MAX_REG): New.
(ALTIVEC_ARG_NUM_REG): New.
(FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
(FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
(REGISTER_NAMES): Add altivec regs.
(DEBUG_REGISTER_NAMES): Same.
(ADDITIONAL_REGISTER_NAMES): Same.
(rs6000_builtins): New.
(MD_EXPAND_BUILTIN): New.
(MD_INIT_BUILTINS): New.
(LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
for AltiVec instructions.
(LEGITIMATE_LO_SUM_ADDRESS_P): Same.
(HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
registers.
(SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
(TARGET_SWITCHES): Add no-altivec.
(DATA_ALIGNMENT): Align vectors to 128 bits.
(TARGET_OPTIONS): Add abi= option.
Add rs6000_abi_string extern.
(LOCAL_ALIGNMENT): New.
(CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
(MASK_ALTIVEC_ABI): New.
(TARGET_ALTIVEC_ABI): New.
(CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
call-saved.
(STACK_BOUNDARY): Adjust for altivec.
(BIGGEST_ALIGNMENT): Same.
(rs6000_args): Add vregno.
(USE_ALTIVEC_FOR_ARG_P): New.
(FIXED_REGISTERS): Add vrsave register.
(CALL_USED_REGISTERS): Same.
(CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
(VRSAVE_REGNO): New.
(reg_class): Add VRSAVE_REGS.
(REG_CLASS_NAMES): Same.
(REG_CLASS_CONTENTS): Same.
(REGNO_REG_CLASS): Same.
* config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
(ABI_STACK_BOUNDARY): Same.
(BIGGEST_ALIGNMENT): Same.
(ADJUST_FIELD_ALIGN): Remove undef. Define anew.
(ROUND_TYPE_ALIGN): Same.
* config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
to 64.
* config/rs6000/rs6000.c (rs6000_expand_builtin): New.
(altivec_expand_builtin): New.
(altivec_init_builtins): New.
(TARGET_EXPAND_BUILTIN): New.
(TARGET_INIT_BUILTINS): New.
(rs6000_init_builtins): New.
(struct builtin_description): New.
(bdesc_2arg): New.
(rs6000_reg_names): Add altivec registers.
(alt_reg_names): Same.
(secondary_reload_class): Altivec regs can hold altivec regs and
memory.
(rs6000_emit_move): Force constants into memory for AltiVec moves.
(print_operand): Add 'y' case for printing altivec memory
operands.
(rs6000_legitimize_address): Legitimize vector addresses into
[REG+REG] or [REG].
(altivec_expand_binop_builtin): New.
New string rs6000_current_abi.
(rs6000_override_options): Call rs6000_parse_abi_options.
(rs6000_parse_abi_options): New.
(function_arg_boundary): Vector arguments must be 16
byte aligned.
(function_arg_advance): Handle vector arguments.
(function_arg_partial_nregs): Same.
(init_cumulative_args): Same.
(function_arg): Same.
* config/rs6000/rs6000.md (altivec_lvx): New.
(type): Add altivec attribute.
(movv4si): New.
(*movv4si_internal): New.
(movv16qi): New.
(*movv16qi_internal): New.
(movv8hi): New.
(*movv8hi_internal1): New.
(movv4sf): New.
(*movv4sf_internal1): New.
(altivec_stvx): New.
(vaddubm): New.
(vadduhm): New.
(vadduwm): New.
(vaddfp): New.
(vaddcuw): New.
(vaddubs): New.
(vaddsbs): New.
(vadduhs): New.
(vaddshs): New.
(vadduws): New.
(vaddsws): New.
(vand): New.
(vandc): New.
(vavgub): New.
(vavgsb): New.
(vavguh): New.
(vavgsh): New.
(vavguw): New.
(vavgsw): New.
(vcmpbfp): New.
(vcmpequb): New.
(vcmpequh): New.
(vcmpequw): New.
(vcmpeqfp): New.
(vcmpgefp): New.
(vcmpgtub): New.
(vcmpgtsb): New.
(vcmpgtuh): New.
(vcmpgtsh): New.
(vcmpgtuw): New.
(vcmpgtsw): New.
(vcmpgtfp): New.
(vcmpgefp): New.
(vcmpgtub): New.
(vcmpgtsb): New.
(vcmpgtuh): New.
(vcmpgtsh): New.
(vcmpgtuw): New.
(vcmpgtsw): New.
(vcmpgtfp): New.
(vmaxub): New.
(vmaxsb): New.
(vmaxuh): New.
(vmaxsh): New.
(vmaxuw): New.
(vmaxsw): New.
(vmaxfp): New.
(vmrghb): New.
(vmrghh): New.
(vmrghw): New.
(vmrglb): New.
(vmrglh): New.
(vmrglw): New.
(vminub): New.
(vminsb): New.
(vminuh): New.
(vminsh): New.
(vminuw): New.
(vminsw): New.
(vminfp): New.
(vmuleub): New.
(vmulesb): New.
(vmuleuh): New.
(vmulesh): New.
(vmuloub): New.
(vmulosb): New.
(vmulouh): New.
(vmulosh): New.
(vnor): New.
(vor): New.
(vpkuhum): New.
(vpkuwum): New.
(vpkpx): New.
(vpkuhss): New.
(vpkshss): New.
(vpkuwss): New.
(vpkswss): New.
(vpkuhus): New.
(vpkshus): New.
(vpkuwus): New.
(vpkswus): New.
(vrlb): New.
(vrlh): New.
(vrlw): New.
(vslb): New.
(vslh): New.
(vslw): New.
(vsl): New.
(vslo): New.
(vsrb): New.
(vrsh): New.
(vrsw): New.
(vsrab): New.
(vsrah): New.
(vsraw): New.
(vsr): New.
(vsro): New.
(vsububm): New.
(vsubuhm): New.
(vsubuwm): New.
(vsubfp): New.
(vsubcuw): New.
(vsububs): New.
(vsubsbs): New.
(vsubuhs): New.
(vsubshs): New.
(vsubuws): New.
(vsubsws): New.
(vsum4ubs): New.
(vsum4sbs): New.
(vsum4shs): New.
(vsum2sws): New.
(vsumsws): New.
(vxor): New.
From-SVN: r46833
|
|
2001-11-07 Laurent Guerby <guerby@acm.org>
* gcc_update (files_and_dependencies): Add Ada dependencies.
From-SVN: r46832
|
|
2001-11-07 Laurent Guerby <guerby@acm.org>
* MAINTAINERS (Write After Approval): Add self.
From-SVN: r46831
|
|
From-SVN: r46830
|
|
2001-11-07 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Explain libsupc++, mention 'long long'
bugfixes on Solaris.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46828
|
|
2001-11-07 Daniel Berlin <dan@cgsoftware.com>
* Makefile.in (df.o): Add fibheap.h to dependencies.
* df.h: Add prototypes for transfer functions, iterative_dataflow
functions.
(enum df_flow_dir): New enum.
(enum df_confluence_op): New enum.
(struct df): Add inverse_rts_map.
* df.c: Add sbitmap.h to the list of includes.
(df_rd_global_compute): Removed.
(df_ru_global_compute): Removed.
(df_lr_global_compute): Removed.
(df_rd_transfer_function): New function.
(df_ru_transfer_function): New function.
(df_lr_transfer_function): New function.
(df_analyse_1): allocate/compute/free df->inverse_rts_map.
Use iterative_dataflow_bitmap instead of df_*_global_compute.
(iterative_dataflow_sbitmap): New function.
(iterative_dataflow_bitmap): New function.
From-SVN: r46827
|
|
htdocs/codingconventions.html.
* doc/gcc.texi: Move terminology and spelling conventions to
htdocs/codingconventions.html.
From-SVN: r46825
|
|
From-SVN: r46824
|
|
* expmed.c (expand_mult): Force operand to register before computing
cost.
* i386.c (x86_decompose_lea): New global vairable.
* i386.h (x86_decompose_lea): Declare.
(TARGET_DECOMPOSE_LEA): New macro.
(RTX_COST): Handle leas properly.
From-SVN: r46823
|
|
From-SVN: r46821
|
|
don't check it.
* config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
defined for a CONSTRUCTOR; don't check it.
From-SVN: r46820
|
|
* gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
test for absolute pathnames.
From-SVN: r46819
|
|
the target pc inclusive.
* unwind-dw2.c (execute_cfa_program): Evaluate call frame
instructions up to the target pc inclusive.
From-SVN: r46818
|
|
From-SVN: r46817
|
|
From-SVN: r46816
|
|
2001-11-06 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
LANG_CPLUSPLUS mode.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r46815
|
|
2001-11-06 Eric Christopher <echristo@redhat.com>
* config/mips/mips.md(movdf_internal2): Add constraints for float
to general register move.
* config/mips/elf64.h: Add default ABI.
From-SVN: r46814
|
|
* alias.c:: Include langhooks.h.
* emit-rtl.c: Similarly.
* toplev.c: Similarly.
* tree-inline.c: Similarly.
* langhooks-def.h: New, the old langhooks.h. Give the default
hooks a common prefix.
* langhooks.h: Contents extracted from toplev.h.
* toplev.h: Move langhook stuff to langhooks.h.
* langhooks.c: Give default hooks a common prefix.
* c-lang.c: Include langhooks-def.h.
* ada/misc.c: Similarly.
* cp/cp-lang.c: Similarly.
* f/com.c: Similarly.
* java/lang.c: Similarly.
* objc/objc-act.c: Similarly.
* Makefile.in: Update.
* ada/Makefile.in: Similarly.
* cp/Make-lang.in: Similarly.
* f/Make-lang.in: Similarly.
* java/Make-lang.in: Similarly.
* objc/Make-lang.in: Similarly.
From-SVN: r46813
|
|
unsupported.
* doc/install.texi: Document that configure options not listed in
this file are unsupported. Document --with-system-zlib.
From-SVN: r46811
|
|
running install.texi2html.
* update_web_docs: Set SOURCEDIR so that install manual can be
found when running install.texi2html.
From-SVN: r46810
|
|
From-SVN: r46809
|
|
* rtl.h (mem_for_const_double): New declaration.
* varasm.c (mem_for_const_double): New function.
* config/convex/convex.md (movdf): Use it.
* config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
* config/m68k/linux.h, config/m68k/m68k.h: Likewise.
* config/m68k/m68kv4.h: Likewise.
From-SVN: r46808
|
|
* config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
of new GP reg classes.
From-SVN: r46807
|
|
it to alias set 0.
* expr.c (store_field): When making temp object for unaligned
component, set it to alias set 0.
From-SVN: r46806
|
|
* c-common.c (c_expand_expr_stmt): Apply default conversions to
non-lvalue arrays if C99.
* c-typeck.c (default_conversion): Split out code handling
array-to-pointer and function-to-pointer conversions into a
separate default_function_array_conversion function.
(default_function_array_conversion): New function. Keep track of
whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
arrays unchanged outside C99 mode instead of giving an error for
them.
(build_component_ref): Use pedantic_non_lvalue when handling
COMPOUND_EXPR. Don't handle COND_EXPR specially.
(convert_arguments): Use default_function_array_conversion.
(build_unary_op): For ADDR_EXPR, take a flag indicating whether
non-lvalues are OK.
(unary_complex_lvalue): Likewise.
(internal_build_compound_expr): Use
default_function_array_conversion. Apply default conversions to
function in compound expression.
(build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
Use default_function_array_conversion.
* doc/extend.texi: Update documentation of subscripting non-lvalue
arrays.
Fixes PR c/461.
testsuite:
* gcc.dg/c90-array-lval-1.c, gcc.dg/c90-array-lval-2.c,
gcc.dg/c99-array-lval-1.c, gcc.dg/c99-array-lval-2.c: Remove
XFAILs. Adjust expected error texts.
* gcc.c-torture/compile/20011106-1.c,
gcc.c-torture/compile/20011106-2.c, gcc.dg/c90-array-lval-3.c,
gcc.dg/c90-array-lval-4.c, gcc.dg/c90-array-lval-5.c,
gcc.dg/c99-array-lval-3.c, gcc.dg/c99-array-lval-4.c,
gcc.dg/c99-array-lval-5.c: New tests.
From-SVN: r46805
|
|
From-SVN: r46803
|
|
From-SVN: r46802
|
|
* aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
(AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
corresponding to the complete set of .po and .gmo files in
the source directory's po subdir, modified by LINGUAS. Don't
look at ALL_LINGUAS.
* configure.in: Don't set ALL_LINGUAS.
* configure: Regenerate.
* Makefile.in (.po.gmo): Don't move into source directory.
(.po.pox): Clarify comments.
(install-po): Look for .gmo files in both srcdir and objdir;
don't fail if a file is totally missing.
(distclean): rmdir ada subdirectory too.
From-SVN: r46800
|
|
* config/rs6000/rs6000.c (rs6000_select_section): Handle
CONSTRUCTORs _correctly_.
From-SVN: r46798
|
|
2001-11-05 Phil Edwards <pme@gcc.gnu.org>
* porting.texi: Move...
* docs/html/17_intro/porting.texi: ...to here.
* docs/html/Makefile: Add rule to rebuild...
* docs/html/17_intro/porting.html: ...this. New file.
From-SVN: r46797
|
|
* java/lang/Class.h (Class): Made _Jv_BytecodeVerifier a friend.
* Makefile.in: Rebuilt.
* Makefile.am (libgcj_la_SOURCES): Added verify.cc.
* verify.cc: New file.
* include/java-interp.h (_Jv_count_arguments): Declare.
(_Jv_VerifyMethod): Likewise.
(class _Jv_InterpMethod): Made _Jv_BytecodeVerifier a friend.
(class _Jv_InterpException): Likewise.
* resolve.cc (_Jv_count_arguments): Renamed from count_arguments.
No longer static. Updated callers.
* defineclass.cc (int_bits_to_float): Removed.
(long_bits_to_double): Likewise.
(prepare_pool_entry): Updated.
(handleCodeAttribute): Verify method (commented out for now).
From-SVN: r46796
|
|
* c-decl.c (delete_block): Remove.
* c-tree.h (delete_block): Remove.
From-SVN: r46795
|
|
* cppexp.c (lex, parse_defined): Update warning about defined.
* gcc.dg/cpp/defined.c: Update.
From-SVN: r46794
|
|
2001-11-05 Felix Natter <fnatter@gmx.net>
* docs/html/17_intro/porting-howto.xml: check in v0.9.4
* docs/html/17_intro/porting-howto.html: regenerate
From-SVN: r46793
|
|
* config/rs6000/rs6000.c (rs6000_select_section): Handle
CONSTRUCTORs too.
From-SVN: r46792
|
|
From-SVN: r46788
|
|
From-SVN: r46787
|
|
depdendencies;
* Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h;
remove unneded depdendencies;
(cfglayout.o): New.
* cfglayout.c, cfglayout.h: New files; break out from ...
* bb-reorder.c: ... here; Remove unneeded includes;
From-SVN: r46786
|
|
preprocessing.
* update_web_docs: Eliminate warnings about keeping files from web
page preprocessing.
From-SVN: r46785
|
|
* update_web_docs: Allow for the same file name in different
directories.
From-SVN: r46784
|
|
From-SVN: r46783
|
|
From-SVN: r46781
|
|
* config.sub: Import from master sources, rev 1.226.
* config.guess: Import from master sources, rev 1.216.
From-SVN: r46780
|
|
From-SVN: r46779
|
|
From-SVN: r46778
|
|
2001-11-04 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
2001-11-04 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
mode as well. Do not explicitly create intermediate regs.
From-SVN: r46777
|
|
* arm/aof.h (aof_text_section, aof_data_section): Don't declare.
(common_section): Delete unused variable.
(ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
(ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
* arm-protos.h (arm_poke_function_name, aof_add_import,
aof_delete_import): Const-ify.
* arm.c (legitimize_pic_address): Wrap variables in the macro
controlling their usage.
(arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
(arm_poke_function_name, pic_chain, import, aof_add_import,
aof_delete_import): Const-ify.
* i386.c (ix86_osf_output_function_prologue): Const-ify.
* i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
* i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
* i860/sysv3.h: Add missing comment closure.
* m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
* m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
to symbolic_operand.
* config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
(i960-*-*): Set tmake_file.
(sparc86x-*-elf*): Fix typo in header name.
* sched-rgn.c (schedule_insns): Delete unused variable.
From-SVN: r46776
|
|
page).
2001-11-04 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.texi: Split off invoke.texi (preliminary to using it
to generate a man page).
* Make-lang.in: Reflect in build rules.
From-SVN: r46775
|
|
PR c/2820
* c-typeck.c (lookup_field): Rework to return a chain down to
the looked-up field.
(build_component_ref): Use the new lookup_field to handle
nested anonymous entities correctly.
* testsuite/gcc.c-torture/execute/anon-1.c: New test.
From-SVN: r46774
|