Doug Evans [Fri, 10 Mar 1995 19:08:13 +0000 (19:08 +0000)]
(SUBTARGET_SWITCHES): Renamed from ARM_EXTRA_TARGET_SWITCHES.
(TARGET_HARD_FLOAT, TARGET_SOFT_FLOAT): Define.
(TARGET_SWITCHES): Add -msoft-float, -mhard-float.
(BYTES_BIG_ENDIAN): Delete #ifndef/#endif.
(CONDITIONAL_REGISTER_USAGE): If -msoft-float, disable fp regs.
(FUNCTION_VALUE): R16 is return reg only if !-msoft-float.
(LIBCALL_VALUE): Likewise.
From-SVN: r9161
Jim Wilson [Fri, 10 Mar 1995 19:08:02 +0000 (11:08 -0800)]
(movdi define_split, movdf define_split): Correct indentation and formatting.
(movdi define_split, movdf define_split): Correct indentation
and formatting. Make the condition fail if an operand is a MEM
with an auto-inc address.
From-SVN: r9160
Doug Evans [Fri, 10 Mar 1995 19:03:43 +0000 (19:03 +0000)]
riscix.h (SUBTARGET_SWITCHES): Renamed from ARM_EXTRA_TARGET_SWITCHES.
* arm/riscix.h (SUBTARGET_SWITCHES): Renamed from ARM_EXTRA_TARGET_SWITCHES.
* arm/riscix1-1.h (SUBTARGET_SWITCHES): Likewise.
From-SVN: r9159
Jim Wilson [Fri, 10 Mar 1995 18:53:01 +0000 (10:53 -0800)]
(steal_delay_list_from_target): Exit at the top if the
branch in SEQ is not a single set.
From-SVN: r9158
Doug Evans [Fri, 10 Mar 1995 18:46:44 +0000 (18:46 +0000)]
* m68k/fpgnulib.c (__fixdfsi): Catch values < 0.5 in magnitude.
From-SVN: r9157
Ian Lance Taylor [Fri, 10 Mar 1995 17:02:02 +0000 (17:02 +0000)]
Fix `typedef struct term;' on hppa1.1-hp-hpux9.
From-SVN: r9156
Richard Kenner [Fri, 10 Mar 1995 10:58:28 +0000 (05:58 -0500)]
(sectname): Reverse Init and Normal.
(print_operand_address, case PLUS): Add case for LABEL_REF.
(print_operand_address, case LABEL_REF): Split fom SYMBOL_REF.
(print_operand_address, case CODE_LABEL): New case.
(ASM_FILE_END): Delete.
From-SVN: r9155
Richard Kenner [Fri, 10 Mar 1995 10:50:02 +0000 (05:50 -0500)]
(FUNCTION_EPILOGUE): Restore stack before freeing local vars.
(DEFAULT_SIGNED_CHAR): Now 1.
(DATA_SECTION_ASM_OP): Use pseudo-op for read-only data (later copied).
(JUMP_TABLES_IN_TEXT_SECTION): Define.
(ASM_OUTPUT_ASCII): Split into multiple lines if long.
(ASM_OUTPUT_{CHAR,SHORT,INT,LONG_INT}): Split up.
(ASM_OUTPUT_COMMON): Call check_section.
From-SVN: r9154
Jeff Law [Fri, 10 Mar 1995 03:40:38 +0000 (20:40 -0700)]
Update copyrights for files modified or added in 1995.
From-SVN: r9153
Richard Kenner [Fri, 10 Mar 1995 02:33:58 +0000 (21:33 -0500)]
(decl_attributes): Handle prefix and suffix attributes the same way.
From-SVN: r9152
Richard Kenner [Fri, 10 Mar 1995 02:33:33 +0000 (21:33 -0500)]
(fndef, nested_function): Pass prefix_attributes to start_function.
(setspecs): Save prefix_attributes in declspec_stack.
(decl rules): Restore prefix_attributes along with current_declspecs.
(setattrs): Concatenate prefix_attributes to previous value.
From-SVN: r9151
Richard Kenner [Fri, 10 Mar 1995 02:32:43 +0000 (21:32 -0500)]
(build_module_descriptor, really_start_method): Pass new parm to
start_function.
From-SVN: r9150
Richard Kenner [Fri, 10 Mar 1995 02:31:51 +0000 (21:31 -0500)]
(finish_file): Pass new parm to start_function.
From-SVN: r9149
Richard Kenner [Fri, 10 Mar 1995 02:31:28 +0000 (21:31 -0500)]
(start_function): Add new parameter.
From-SVN: r9148
Richard Kenner [Fri, 10 Mar 1995 02:31:02 +0000 (21:31 -0500)]
(start_function): Handle new parameter ATTRIBUTES.
From-SVN: r9147
Richard Kenner [Fri, 10 Mar 1995 01:40:49 +0000 (20:40 -0500)]
(print_node): Fix typo in printing large INTEGER_CST.
From-SVN: r9146
Richard Kenner [Fri, 10 Mar 1995 01:37:06 +0000 (20:37 -0500)]
(assemble_variable): Consistently use DECL_SIZE for everything.
From-SVN: r9145
Michael Meissner [Thu, 9 Mar 1995 17:51:37 +0000 (17:51 +0000)]
Fix -msoft-float on Power.
From-SVN: r9144
Richard Kenner [Thu, 9 Mar 1995 14:36:16 +0000 (09:36 -0500)]
Remove last change.
From-SVN: r9143
Richard Kenner [Thu, 9 Mar 1995 14:00:50 +0000 (09:00 -0500)]
(convert_for_assignment): Fix typo in testing for pointer to function
type.
From-SVN: r9142
Richard Kenner [Thu, 9 Mar 1995 13:51:20 +0000 (08:51 -0500)]
(record_constant_1): Handle NON_LVALUE_EXPR.
Rewrite to use switch instead of if/then/elseif/else.
From-SVN: r9141
Richard Kenner [Thu, 9 Mar 1995 11:45:13 +0000 (06:45 -0500)]
Update copyright dates.
From-SVN: r9140
Richard Kenner [Wed, 8 Mar 1995 23:21:34 +0000 (18:21 -0500)]
(do_include): Fix type typo: pcfbuflimit is char *, not int.
From-SVN: r9139
Richard Kenner [Wed, 8 Mar 1995 22:49:48 +0000 (17:49 -0500)]
(force_fit_type): Always propagate OVERFLOW.
From-SVN: r9138
Richard Kenner [Wed, 8 Mar 1995 22:30:20 +0000 (17:30 -0500)]
(gen_inline_header): Add new parm FORCED_LABELS.
From-SVN: r9137
Richard Kenner [Wed, 8 Mar 1995 22:29:43 +0000 (17:29 -0500)]
(initialize_for_inline, output_inline_function): Handle FORCED_LABELS.
From-SVN: r9136
Richard Kenner [Wed, 8 Mar 1995 22:29:20 +0000 (17:29 -0500)]
(FORCED_LABELS): New field; other fields adjusted.
(gen_inline_header_rtx): New parm FORCED_LABELS.
From-SVN: r9135
Richard Kenner [Wed, 8 Mar 1995 22:28:34 +0000 (17:28 -0500)]
(INLINE_HEADER): Add new "e" field.
From-SVN: r9134
Michael Meissner [Wed, 8 Mar 1995 21:29:44 +0000 (21:29 +0000)]
More typos
From-SVN: r9133
Jason Merrill [Wed, 8 Mar 1995 18:40:51 +0000 (18:40 +0000)]
Add -taso and -rpath to LINK_SPEC
From-SVN: r9132
Michael Meissner [Wed, 8 Mar 1995 16:54:20 +0000 (16:54 +0000)]
fix typo.
From-SVN: r9131
Michael Meissner [Wed, 8 Mar 1995 16:42:26 +0000 (16:42 +0000)]
Define _RELOCATABLE if -mrelocatable; Rewrite eabi.asm for use with -mrelocatable.
From-SVN: r9130
Michael Meissner [Wed, 8 Mar 1995 15:21:52 +0000 (15:21 +0000)]
Do not initialize the pointer variable __new_handler with an address.
From-SVN: r9129
Ian Lance Taylor [Tue, 7 Mar 1995 22:34:39 +0000 (22:34 +0000)]
Add support for #pragma align
From-SVN: r9128
Doug Evans [Tue, 7 Mar 1995 17:16:54 +0000 (17:16 +0000)]
(TARGET_VERSION): Define.
(CPP_PREDEFINES): Delete sun, sparc, unix. Delete OS assertions.
(ASM_SPEC): Define.
(LINK_SPEC): Delete solaris stuff, this is an embedded target.
(STARTFILE_SPEC, ENDFILE_SPEC): Define.
From-SVN: r9127
Doug Evans [Tue, 7 Mar 1995 16:56:39 +0000 (16:56 +0000)]
(install-common): Fix typo in installation of gcc-cross.
From-SVN: r9126
Doug Evans [Mon, 6 Mar 1995 22:54:51 +0000 (22:54 +0000)]
(install-common): Fix typo in installation of cpp.
From-SVN: r9125
Jeff Law [Mon, 6 Mar 1995 07:29:33 +0000 (00:29 -0700)]
* pa.md (movsicc): New expander.
From-SVN: r9124
Doug Evans [Sun, 5 Mar 1995 23:27:16 +0000 (23:27 +0000)]
Undo this patch, breaks libobjc builds.
* c-decl.c (pushdecl): When have a duplicate decl, and it is global,
delete lookup_name name in test for return.
(redeclaration_error_message): When newdecl is a block level
declaration, use lookup_name_current_level instead of DECL_CONTEXT.
From-SVN: r9123
Michael Meissner [Fri, 3 Mar 1995 21:33:52 +0000 (21:33 +0000)]
Pass -mrelocatable to assembler if passed to compiler.
From-SVN: r9122
Ian Lance Taylor [Fri, 3 Mar 1995 17:11:06 +0000 (17:11 +0000)]
Handle VxWorks typedef macros
From-SVN: r9121
Ian Lance Taylor [Fri, 3 Mar 1995 17:10:48 +0000 (17:10 +0000)]
Patch some VxWorks header files
From-SVN: r9120
Richard Kenner [Fri, 3 Mar 1995 10:48:33 +0000 (05:48 -0500)]
(dump_single_macro): Fix typo: % wasn't properly doubled in printf
formats.
From-SVN: r9119
Jason Merrill [Fri, 3 Mar 1995 03:45:02 +0000 (03:45 +0000)]
Update CLEANUP_POINT_EXPR docs.
From-SVN: r9118
Jason Merrill [Fri, 3 Mar 1995 03:45:02 +0000 (03:45 +0000)]
(expand_expr, CLEANUP_POINT_EXPR): Force the operand out
of memory before running cleanups.
From-SVN: r9117
Richard Kenner [Fri, 3 Mar 1995 00:20:50 +0000 (19:20 -0500)]
Fix formatting.
From-SVN: r9116
Richard Kenner [Fri, 3 Mar 1995 00:15:06 +0000 (19:15 -0500)]
(rescan): Prevent accidental token-pasting to get !=, *=, /=, ==, or ^=.
From-SVN: r9115
Richard Kenner [Fri, 3 Mar 1995 00:08:45 +0000 (19:08 -0500)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Fix typo in label name.
From-SVN: r9114
Jason Merrill [Thu, 2 Mar 1995 23:39:09 +0000 (23:39 +0000)]
(build_binary_op): Avoid spurious warning
| comparing enumerator to unsigned variable.
From-SVN: r9113
Richard Kenner [Thu, 2 Mar 1995 23:18:24 +0000 (18:18 -0500)]
(sqrtsf2,sqrtdf2): Use fp precision specifiers.
From-SVN: r9112
Richard Kenner [Thu, 2 Mar 1995 23:13:29 +0000 (18:13 -0500)]
Fix typo in last change.
From-SVN: r9111
Richard Kenner [Thu, 2 Mar 1995 23:08:54 +0000 (18:08 -0500)]
(yylex, case !NOT_FLOAT): Remove previous change.
From-SVN: r9110
Richard Kenner [Thu, 2 Mar 1995 20:51:00 +0000 (15:51 -0500)]
Update shift/reduce conflict documentation.
From-SVN: r9109
Richard Kenner [Thu, 2 Mar 1995 20:26:39 +0000 (15:26 -0500)]
(bootstrap*): Pass new STAGE_PREFIX to recursive makes.
From-SVN: r9108
Per Bothner [Thu, 2 Mar 1995 03:40:59 +0000 (19:40 -0800)]
Remove Feb 13's FUNCTION_NEEDS_STATIC_CHAIN changes.
From-SVN: r9107
Per Bothner [Thu, 2 Mar 1995 03:33:25 +0000 (19:33 -0800)]
Remove Feb 28's FUNCTION_NEEDS_STATIC_CHAIN changes.
From-SVN: r9106
Michael Meissner [Thu, 2 Mar 1995 01:07:59 +0000 (01:07 +0000)]
Move -mrelocatable word before function prologue.
From-SVN: r9105
Michael Meissner [Thu, 2 Mar 1995 01:07:14 +0000 (01:07 +0000)]
Define cpu/machine as powerpc, not rs6000
From-SVN: r9104
Michael Meissner [Wed, 1 Mar 1995 20:30:14 +0000 (20:30 +0000)]
Clone unwind_function for powerpc
From-SVN: r9103
Ian Lance Taylor [Wed, 1 Mar 1995 19:54:15 +0000 (19:54 +0000)]
Add cpp predefines for VxWorks, and default to -mca
From-SVN: r9102
Ian Lance Taylor [Wed, 1 Mar 1995 19:54:01 +0000 (19:54 +0000)]
Add support for COFF style constructors
From-SVN: r9101
Michael Meissner [Wed, 1 Mar 1995 19:09:39 +0000 (19:09 +0000)]
Silence warnings on uminsi3, umaxsi3.
From-SVN: r9100
Richard Kenner [Wed, 1 Mar 1995 11:48:17 +0000 (06:48 -0500)]
(decode_field_reference): Don't check TREE_CODE of EXP; let get_inner_reference decide if have reference.
(decode_field_reference): Don't check TREE_CODE of EXP; let
get_inner_reference decide if have reference.
Allow no bit reference if have AND_MASK.
(all_ones_mask_p): Use tree_int_cst_equal, not operand_equal_p.
(unextend): New function.
(fold_truthop): For constant cases, use new function, rework
conversion, and warn if comparison can never be true.
From-SVN: r9099
Richard Kenner [Wed, 1 Mar 1995 11:39:01 +0000 (06:39 -0500)]
(store_expr): Do conversion in two steps for promoted lhs.
From-SVN: r9098
Per Bothner [Tue, 28 Feb 1995 23:06:49 +0000 (15:06 -0800)]
* tree.c (staticp): Use FUNCTION_NEEDS_STATIC_CHAIN.
From-SVN: r9097
Per Bothner [Tue, 28 Feb 1995 23:06:03 +0000 (15:06 -0800)]
function.c (lookup_static_chain): Check for a static chain using FUNCTION_NEEDS_STATIC_CHAIN.
* function.c (lookup_static_chain): Check for a static chain
using FUNCTION_NEEDS_STATIC_CHAIN.
(init_function_start): Set current_function_needs_context depending
on FUNCTION_NEEDS_STATIC_CHAIN rather than decl_function_context.
From-SVN: r9096
Per Bothner [Tue, 28 Feb 1995 23:05:01 +0000 (15:05 -0800)]
expr.c (expand_expr): If non-local variable is expanded...
* expr.c (expand_expr): If non-local variable is expanded,
set FUNCTION_NEEDS_STATIC_CHAIN (current_function_decl).
* expr.c (expand_expr case ADDR_EXPR): Check for trampoline
using FUNCTION_NEEDS_STATIC_CHAIN, instead of decl_function_context.
From-SVN: r9095
Michael Meissner [Tue, 28 Feb 1995 22:16:31 +0000 (22:16 +0000)]
More soft-float/powerpc patches.
From-SVN: r9094
Michael Meissner [Tue, 28 Feb 1995 21:39:57 +0000 (21:39 +0000)]
Correctly reload r30 if -mrelocatable
From-SVN: r9093
Doug Evans [Tue, 28 Feb 1995 19:46:31 +0000 (19:46 +0000)]
(rest_of_compilation): Defer output of static inlines
even if not optimizing, they may never be referenced.
From-SVN: r9092
Doug Evans [Mon, 27 Feb 1995 22:06:25 +0000 (22:06 +0000)]
(do_include): Check for redundant file before opening in relative path case.
(do_include): Check for redundant file before opening in
relative path case. Don't call fstat unnecessarily.
From-SVN: r9091
Jim Wilson [Mon, 27 Feb 1995 19:33:18 +0000 (11:33 -0800)]
(muldi3_internal): Change dmul to dmult.
From-SVN: r9090
Jeff Law [Mon, 27 Feb 1995 07:30:31 +0000 (00:30 -0700)]
pa.c (hppa_expand_prologue): Don't save the PIC register into the stack for functions which have no stack of...
* pa.c (hppa_expand_prologue): Don't save the PIC register into
the stack for functions which have no stack of their own.
From-SVN: r9089
Roland McGrath [Mon, 27 Feb 1995 05:43:24 +0000 (05:43 +0000)]
(ASM_SPEC): Macro removed.
From-SVN: r9088
Doug Evans [Mon, 27 Feb 1995 01:21:28 +0000 (01:21 +0000)]
(find_reloads_address): Fix typo in reg+const case.
From-SVN: r9087
Doug Evans [Sat, 25 Feb 1995 15:18:34 +0000 (15:18 +0000)]
(Makefile): Delete config.run afterwards.
(disclean): Delete config.run.
From-SVN: r9086
Doug Evans [Sat, 25 Feb 1995 15:16:38 +0000 (15:16 +0000)]
(print_search_dirs): New variable.
(build_search_list): New function.
(putenv_from_prefixes): Call it.
(option_map): New option --print-search-dirs.
(process_command): Handle it.
(main): Print installation directory and exec/startfile_prefixes if
--print-search-dirs given.
From-SVN: r9085
Richard Kenner [Sat, 25 Feb 1995 13:42:37 +0000 (08:42 -0500)]
(mips_fill_delay_slot): Fix typo in call to FP_REG_P.
From-SVN: r9084
Richard Kenner [Sat, 25 Feb 1995 13:36:33 +0000 (08:36 -0500)]
(ASM_SPEC): Pass -pg to assembler.
(FUNCTION_PROFILER): Do nothing; the assembler does it for us.
From-SVN: r9083
Richard Kenner [Sat, 25 Feb 1995 13:07:46 +0000 (08:07 -0500)]
(RTX_COSTS): Add cost of FFS.
From-SVN: r9082
Richard Kenner [Sat, 25 Feb 1995 11:55:11 +0000 (06:55 -0500)]
(simplify_unary_operation): If operand mode is VOIDmode for
UNSIGNED_FLOAT and operand looks negative, can't simplify.
From-SVN: r9081
Richard Kenner [Sat, 25 Feb 1995 11:52:06 +0000 (06:52 -0500)]
Remove unneeded tests on HOST_BITS_PER_INT from some extra conditions.
Use low_32_bit_operand for (plus:DI (zero_extend:DI ..) ..) cases.
From-SVN: r9080
Richard Kenner [Sat, 25 Feb 1995 11:51:41 +0000 (06:51 -0500)]
(PREDICATE_CODES): Add low_32_bit_operand.
From-SVN: r9079
Richard Kenner [Sat, 25 Feb 1995 11:51:17 +0000 (06:51 -0500)]
(low_32_bit_operand): New function.
From-SVN: r9078
Roland McGrath [Sat, 25 Feb 1995 06:41:27 +0000 (06:41 +0000)]
(POSIX): Define this macro.
From-SVN: r9077
Roland McGrath [Sat, 25 Feb 1995 05:49:23 +0000 (05:49 +0000)]
(GNU_CPP_PREDEFINES): Add missing backslash.
From-SVN: r9076
Jim Wilson [Sat, 25 Feb 1995 02:40:03 +0000 (18:40 -0800)]
(relax_delay_slots): When searching for next CODE_LABEL,
use next_real_insn not next_active_insn.
From-SVN: r9075
Jim Wilson [Sat, 25 Feb 1995 02:35:35 +0000 (18:35 -0800)]
(va_end): Expand to a void expression instead of nothing.
From-SVN: r9074
Jim Wilson [Sat, 25 Feb 1995 02:34:27 +0000 (18:34 -0800)]
*** empty log message ***
From-SVN: r9073
Jim Wilson [Sat, 25 Feb 1995 02:21:37 +0000 (18:21 -0800)]
(pushdecl): When have a duplicate decl, and it is global,
delete lookup_name name in test for return.
(redeclaration_error_message): When newdecl is a block level
declaration, use lookup_name_current_level instead of DECL_CONTEXT.
From-SVN: r9072
Jim Wilson [Sat, 25 Feb 1995 02:16:06 +0000 (18:16 -0800)]
(PACKSTRUCT_BIT, TARGET_PACKSTRUCT): Change to PADSTRUCT.
Add comment saying that the option is not useful.
(TARGET_SWITCHES): Change -mpackstruct option to -mpadstruct.
(STRUCTURE_SIZE_BOUNDARY): Change PACKSTRUCT to PADSTRUCT changing
default value from 32 to 8.
From-SVN: r9071
Jim Wilson [Sat, 25 Feb 1995 01:51:41 +0000 (17:51 -0800)]
(PUSHSECTION_FORMAT): Add a leading tab.
From-SVN: r9070
Jim Wilson [Sat, 25 Feb 1995 01:45:43 +0000 (17:45 -0800)]
(expand_expr, case COMPONENT_REF): Don't fetch unaligned
field if we only want its address.
From-SVN: r9069
Jeff Law [Sat, 25 Feb 1995 00:15:36 +0000 (17:15 -0700)]
Initial revision
From-SVN: r9068
Jim Wilson [Fri, 24 Feb 1995 22:51:04 +0000 (14:51 -0800)]
(fp_literal_one, fp_literal_zero): Don't accept VOIDmode.
(i960_output_ldconst): In DFmode code, delete code to handle FP_REG_P
target. In DFmode and SFmode code, delete test for HOST_FLOAT_FORMAT
== TARGET_FLOAT_FORMAT.
From-SVN: r9067
Jim Wilson [Fri, 24 Feb 1995 22:50:34 +0000 (14:50 -0800)]
(REAL_ARITHMETIC): Define.
(LEGITIMATE_CONSTANT_P): Pass argument mode not VOIDmode to fp_literal.
From-SVN: r9066
Jim Wilson [Fri, 24 Feb 1995 22:42:30 +0000 (14:42 -0800)]
(CC1_SPEC): Don't output implicit -gstabs or -gcoff option
if user gave an explicit one.
From-SVN: r9065
Jim Wilson [Fri, 24 Feb 1995 22:41:49 +0000 (14:41 -0800)]
(CC1_SPEC): Don't output implicit -gstabs or -gcoff option if user gave an explicit one.
(CC1_SPEC): Don't output implicit -gstabs or -gcoff option
if user gave an explicit one.
(CC1_SPEC): Likewise.
From-SVN: r9064
Jim Wilson [Fri, 24 Feb 1995 22:33:14 +0000 (14:33 -0800)]
(GDB_INV_REF_REGPARM_STABS_LETTER): New macro.
(dbxout_parms): For gdb, output use GDB_INV_REF_REGPARM_STABS_LETTER
for parameters passed by invisible reference in registers.
From-SVN: r9063
Jim Wilson [Fri, 24 Feb 1995 22:19:23 +0000 (14:19 -0800)]
Correct typos and formatting problems.
(add_constant, current_function_pretend_args_size,
flag_traditional, table_lab): Delete unnecessary declarations.
(sh_cpu): Change type from attr_cpu to processor_type.
(need_slot, output_shift, lshiftrt_insns, howshift,
pop_operand): Delete.
(print_operand, output_branch): Delete calls to need_slot.
(synth_constant): Comment that it doesn't work.
(output_movedouble): Handle PRE_DEC dest not POST_INC dest.
(output_options): Don't use flag_traditional.
(shift_insns): Correct numbers to optimal sequences.
(shift_amounts): New table.
(shift_insns_rtx): New function.
(shiftinsns): Combine LSHIFTRT and ASHIFT cases.
(shiftcosts): Return true costs of shifts instead of estimate of 1.
(gen_ashift): Handle negative shift amounts. Call gen_lshrsi3_m
for single bit LSHIFTRT, and gen_lshrisi3_k for multiple bit shifts.
(gen_shifty_op): Handle negative shift amounts at top. Generate
optimal sequences for ASHIFT and LSHIFTRT.
(find_barrier): Correct pattern for matching mova instructions.
(general_movsrc_operand): Delete redundant test for (MEM LABEL_REF).
Don't reject POST_INC address for size > 4.
(general_movdst_operand): Don't reject PRE_DEC address for size > 4.
From-SVN: r9062