Nick Clifton
5f1e6755ec
Rename -mshort-load-bytes switch to -malignment-traps
...
From-SVN: r30604
1999-11-21 16:11:20 +00:00
Jan Hubicka
5b8ad69915
Oops, forgot the Changleog entry.
...
* global.c (allocno): New structure and static variable.
(allocno_reg): Remove, all references replaced by allocno.
(allocno_size): Likewise.
(hard_reg_conflicts): Likewise.
(hard_reg_preferences): Likewise.
(hard_reg_copy_preferences): Likewise.
(hard_reg_full_preferences): Likewise.
(regs_someone_prefers): Likewise.
(allocno_calls_crossed): Likewise.
(allocno_n_refs): Likewise.
(allocno_live_length): Likewise.
(find_reg): Rename ALLOCNO to NUM.
From-SVN: r30603
1999-11-21 12:56:01 +00:00
Jan Hubicka
5c0ecffe47
global.c (allocno): New structure and static variable.
...
* global.c (allocno): New structure and static variable.
(allocno_reg): Remove, all references replaced by allocno.
(allocno_size): Likewise.
(hard_reg_conflicts): Likewise.
(hard_reg_preferences): Likewise.
(hard_reg_copy_preferences): Likewise.
(hard_reg_full_preferences): Likewise.
(regs_someone_prefers): Likewise.
(allocno_calls_crossed): Likewise.
(allocno_n_refs): Likewise.
(allocno_live_length): Likewise.
(find_reg): Rename ALLOCNO to NUM.
From-SVN: r30602
1999-11-21 12:53:31 +00:00
Jan Hubicka
ee59f29bd9
regclass.c (may_move_in_cost): Rename from may_move_cost, all references updated.
...
* regclass.c (may_move_in_cost): Rename from may_move_cost, all
references updated.
(may_move_out_cost): New variable.
(init_reg_sets_1): Initialize may_move_out_cost.
(record_reg_classes): Use may_move_out_cost.
From-SVN: r30601
1999-11-21 12:40:47 +00:00
Jan Hubicka
246fd41f2d
regclass.c (dump_regclass): New function.
...
* regclass.c (dump_regclass): New function.
(regclass): New parameter DUMP, call DUMP_REGCLASS.
* toplev.c (rest_of_compilation): Opent lreg dump file before regclass,
pass rtl_dump_file to regclass.
* rtl.h (regclass): Update prototype.
From-SVN: r30600
1999-11-21 12:33:17 +00:00
Jeff Law
eeae2112fa
Daily bump.
...
From-SVN: r30599
1999-11-21 01:45:07 -07:00
Geoff Keating
8b1cb95b76
varasm.c (output_constructor): Solve problem with long long bitfields...
...
* varasm.c (output_constructor): Solve problem with long long
bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
From-SVN: r30598
1999-11-21 07:53:01 +00:00
Jan Hubicka
06a964de82
i386.md (neg, [...]): Revmap to use ix86_expand_unary_operator and ix86_unary_operator_ok.
...
* i386.md (neg, not and abs patterns): Revmap to use
ix86_expand_unary_operator and ix86_unary_operator_ok.
(add?f and sub?f expanders): Force operand 1 to register.
* i386.c (ix86_expand_unary_operator): Rewrite.
(ix86_unary_operator_ok): Ensure that memory operands
match real opcode.
(ix86_binary_operator_ok): Do not allow operand 1 to
come into memory and operand 0 not.
(ix86_expand_binary_operator): Ensure that
src1 is not non-matching memory.
From-SVN: r30597
1999-11-21 01:34:22 +00:00
Jan Hubicka
1ce485ec43
i386.md (negs?2): Rewrite to expanders...
...
* i386.md (negs?2): Rewrite to expanders, new patterns and splitters
to support integer registers and memory.
(abss?2_integer): Likewise.
From-SVN: r30596
1999-11-21 00:04:15 +00:00
Jeff Law
65c93378bc
Daily bump.
...
From-SVN: r30595
1999-11-20 01:45:06 -07:00
Jan Hubicka
8fcaaa8099
i386.h (enum reg_class): Add FLOAT_INT_REGS.
...
* i386.h (enum reg_class): Add FLOAT_INT_REGS.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
and GENERAL_REGS.
* i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
(movsf): Likewise; unify 4th and 5th alternative.
(pushdf): Likewise.
(movdf_1): Likewise; rename to movdf_integer.
(pushxf): Likewise; rename to pushxf_integer; fix output template;
remove redundant splitter.
(movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
(movdf_nointeger): New.
(movxf_nointeger): New.
(pushxf_nointeger): New.
From-SVN: r30594
1999-11-19 20:50:36 +00:00
Jan Hubicka
f97d9ec377
i386.md (extend?f?f): Split to expander and pattern, refuse two memory operands in patterns.
...
* i386.md (extend?f?f): Split to expander and pattern, refuse two
memory operands in patterns.
(fop*): Refuse two memory operands.
From-SVN: r30593
1999-11-19 20:27:08 +00:00
Jan Hubicka
c37d59c3e7
i386.md (ashrsi3_31): Allow cltd when optimizing for size even on !TARGET_USE_CLTD CPUs.
...
* i386.md (ashrsi3_31): Allow cltd when optimizing for size even
on !TARGET_USE_CLTD CPUs.
From-SVN: r30592
1999-11-19 20:12:14 +00:00
Tom Tromey
3cf88fb4e8
sjlj jumbo patch
...
From-SVN: r30591
1999-11-19 19:13:42 +00:00
Diego Novillo
2395f8059c
* MAINTAINERS: Add new 'write after approval' maintainer.
...
From-SVN: r30590
1999-11-19 13:23:48 -05:00
Diego Novillo
14592a41e8
rtl.texi (mem): Add documentation for alias-set argument to RTX `mem'.
...
* rtl.texi (mem): Add documentation for alias-set argument
to RTX `mem'.
From-SVN: r30589
1999-11-19 12:23:37 -05:00
Nathan Sidwell
e5315fad4d
* g++.old-deja/g++.ext/restrict1.C: New test.
...
From-SVN: r30588
1999-11-19 13:04:48 +00:00
Nathan Sidwell
535233a89f
extend.texi: Document C++ restricted pointers and references.
...
* extend.texi: Document C++ restricted pointers and references.
* cp-tree.h (grok_method_quals): Return this pointer qualifiers.
* decl.c (grokdeclarator): Adjust calls to grok_method_quals.
* decl2.c (grok_method_quals): Accept `restrict' as applying to
the object pointer. Return such qualifiers.
(grokclassfn): Apply this pointer qualifiers. Cleanup unused
variables.
From-SVN: r30587
1999-11-19 13:03:00 +00:00
Bernd Schmidt
73d65336b7
addr_affects_sp_p now unconditional
...
From-SVN: r30586
1999-11-19 11:36:25 +00:00
Jan Hubicka
96e7ae40d8
i386.h (struct_processor_costs): New fileds int_load, int_store, fp_move, fp_load and fp_store
...
* i386.h (struct_processor_costs): New fileds int_load, int_store, fp_move,
fp_load and fp_store
(REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
fp->int moves
(MEMORY_MOVE_COST): New macro.
* i386.c (386_cost): Define new fields.
(i486_cost): Likewise.
(pentium_cost): Likewise.
(pentiumpro_cost): Likewise.
(k6_cost): Likewise.
From-SVN: r30585
1999-11-19 09:12:18 +00:00
Jeff Law
25b540c639
Daily bump.
...
From-SVN: r30584
1999-11-19 01:45:07 -07:00
Alexandre Oliva
6630745103
* template7.C: Crash test passes, bug error is now bogus.
...
From-SVN: r30583
1999-11-19 06:36:45 +00:00
Alexandre Oliva
0f7324bf0a
Changed my e-mail address to oliva@lsd.ic.unicamp.br
...
From-SVN: r30582
1999-11-19 03:23:11 +00:00
Alexandre Petit-Bianco
4832340ccc
class.c (layout_class): Always convert TYPE_SIZE_UNIT to int_type_node...
...
Wed Nov 17 21:09:28 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class): Always convert TYPE_SIZE_UNIT to
int_type_node: that's what `_Jv_AllocObject' expects.
From-SVN: r30581
1999-11-18 17:43:21 -08:00
Gabriel Dos Reis
9c5c5c8a31
valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget to define tanh.
...
1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget
to define tanh.
From-SVN: r30580
1999-11-19 01:40:12 +00:00
Greg McGary
b71733d53f
m68kelf.h: Suppress '/* within comment' warning.
...
* config/m68k/m68kelf.h: Suppress '/* within comment' warning.
* config/m68k/m68k.h (MASK_PCREL): Don't use same value as
MASK_ALIGN_INT.
* config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
(TARGET_STRICT_ALIGNMENT): New macro.
(TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
(STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
* invoke.texi (M680x0 Options): Document -mstrict-align.
Co-Authored-By: Geoff Keating <geoffk@cygnus.com>
From-SVN: r30579
1999-11-19 00:23:01 +00:00
Jan Hubicka
2450a05729
i386-protos.h (split_xf, [...]): Remove.
...
* i386-protos.h (split_xf, ix86_split_movdi): Remove.
(ix86_split_long_move): Declare.
* i386.c (split_xf, ix86_split_movdi): Remove.
(ix86_split_to_parts, ix86_split_long_move): New.
* i386.md (dimode move splitters): Use ix86_split_long_move.
(dfmode move splitters): Likewise.
(xfmode move splitters): Likewise.
(movsf_1): Allow F->r.
(movdf_1, movxf_1): Allow F->ro.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r30578
1999-11-18 11:10:44 -08:00
Mark Mitchell
4a6ef811c8
except.c (expand_end_catch_block): Fix typo.
...
* except.c (expand_end_catch_block): Fix typo.
(expand_exception_blocks): Simplify. Don't call
expand_leftover_cleanups.
From-SVN: r30577
1999-11-18 17:52:27 +00:00
Mark Mitchell
1e4ceb6f9e
except.h (struct eh_entry): Add goto_entry_p.
...
* except.h (struct eh_entry): Add goto_entry_p.
(eh_region_from_symbol): Remove prototype.
* except.c (find_func_region_from_symbol): New function.
(emit_cleanup_handler): Likewise.
(eh_region_from_symbol): Make it static.
(add_new_handler): Verify the argument.
(find_func_region): Update comment.
(expand_eh_region_end): Expand handlers here, rater than waiting
until expand_leftover_cleanups or start_all_catch.
(expand_leftover_cleanups): Don't expand here.
(expand_start_all_catch): Or here.
(expand_rethrow): Check the return value from find_func_region.
* function.c (expand_function_end): Emit the catch_clauses.
From-SVN: r30576
1999-11-18 17:50:56 +00:00
Gavin Romig-Koch
0e6b2107ca
* integrate.c (expand_inline_function): Add necessary check for NULL.
...
From-SVN: r30575
1999-11-18 15:12:51 +00:00
Nick Clifton
bb51178fb1
Fix command line parsing to report unrecognised options.
...
From-SVN: r30574
1999-11-18 11:01:34 +00:00
Jeff Law
7f7df3111d
Daily bump.
...
From-SVN: r30573
1999-11-18 01:45:07 -07:00
Michael Gschwind
5a42589324
basic-block.h (update_life_extent): Remove trailing comma on enumeration type list.
...
* basic-block.h (update_life_extent): Remove trailing comma on
enumeration type list.
From-SVN: r30572
1999-11-18 01:00:50 -07:00
Herman A.J. ten Brugge
dfb2c079b1
* varasm.c (output_constructor) Solved problem with long long
...
bitfields. Corrected calculating this_time and shift. Also
corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
From-SVN: r30571
1999-11-18 00:57:32 -07:00
Herman A.J. ten Brugge
ee7602056e
* gcc.c-torture/execute/991118-1.c: New test.
...
From-SVN: r30570
1999-11-18 00:56:12 -07:00
Tom Tromey
8cb9ab4b7e
* no-threads.cc (_Jv_ThreadStart): Use JvFail and not JvAssert.
...
From-SVN: r30569
1999-11-18 07:32:50 +00:00
Tom Tromey
5b8c39e0aa
natClass.cc (MCACHE_SIZE): Define as a power of 2 minus 1.
...
* java/lang/natClass.cc (MCACHE_SIZE): Define as a power of 2
minus 1.
(method_cache): Made larger.
From-SVN: r30568
1999-11-18 07:19:00 +00:00
Jeffrey A Law
9aa137f325
flow.c (split_edge): Take looping structure into account when determining where to put the new block...
...
* flow.c (split_edge): Take looping structure into account when
determining where to put the new block note.
From-SVN: r30567
1999-11-17 23:45:55 -07:00
Godmar Back
7c2e3b9b52
typeck.c: (lookup_java_method): search all inherited interfaces when...
...
Wed Nov 3 15:20:02 MST 1999 Godmar Back <gback@cs.utah.edu>
* typeck.c: (lookup_java_method): search all inherited
interfaces when looking up interface method.
From-SVN: r30566
1999-11-17 19:59:48 -08:00
Jeff Law
13aa2d0521
Replace spaces with tab in last change.
...
From-SVN: r30565
1999-11-17 20:59:33 -07:00
Jeff Holcomb
d7160de971
Makefile.in (ggc-none.o): Provide host specific version if needed.
...
* Makefile.in (ggc-none.o): Provide host specific version if
needed.
From-SVN: r30564
1999-11-17 20:52:39 -07:00
Richard Henderson
e7a59e04e7
cse.c (delete_trivially_dead_insns): Identify no-op insns containing subregs too.
...
* cse.c (delete_trivially_dead_insns): Identify no-op insns
containing subregs too.
From-SVN: r30563
1999-11-17 16:52:07 -08:00
Diego Novillo
919509ceea
invoke.texi: Add documentation for -muninit-const-in-rodata.
...
* invoke.texi: Add documentation for -muninit-const-in-rodata.
* config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
(TARGET_UNINIT_CONST_IN_RODATA): Define.
(text_section): Add switches -munint-const-in-rodata and
-mno-uninit-const-in-rodata.
(ASM_OUTPUT_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
const objects should be placed in read-only data. Otherwise declare
them in common.
From-SVN: r30562
1999-11-17 19:41:13 -05:00
Richard Henderson
d49256bbdf
* jump.c (jump_optimize_1): Revert last change.
...
From-SVN: r30561
1999-11-17 16:39:00 -08:00
Alexandre Petit-Bianco
1e25de97de
MAINTAINERS: Add new Java maintainer.
...
Wed Nov 17 16:08:43 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* MAINTAINERS: Add new Java maintainer.
From-SVN: r30560
1999-11-17 16:11:10 -08:00
Richard Henderson
bc6c134e71
jump.c (jump_optimize_1): Don't try to duplicate the loop exit test if optimizing for size.
...
* jump.c (jump_optimize_1): Don't try to duplicate the loop exit
test if optimizing for size.
From-SVN: r30559
1999-11-17 15:28:50 -08:00
Gerald Pfeifer
00f8656751
Change mail address of Per Bothner to per@bothner.com.
...
Approved/requested by Per himself.
From-SVN: r30558
1999-11-17 20:23:43 +00:00
Craig Burley
afa6a3e0c7
a bit of a brain-dump from earlier this year
...
From-SVN: r30557
1999-11-17 13:36:40 -05:00
Mark Mitchell
fc99263b01
Makefile.in (toplev.o): Depend on except.h.
...
* Makefile.in (toplev.o): Depend on except.h.
(dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
From-SVN: r30556
1999-11-17 18:13:01 +00:00
Jan Hubicka
40745eecaf
i386.md (divmodsi4): Rewrite to expander.
...
Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (divmodsi4): Rewrite to expander.
(*divmodsi4_nocltd): New.
(*divmodsi4_cltd): New.
(divmodsi4 splitter): Handle the case when input comes in edx.
(udivmodhi4): Do not use constraints in exander.
(ashrsi3_31): Conditionize by TARGET_USE_CLTD.
From-SVN: r30555
1999-11-17 17:39:18 +00:00