Richard Kenner [Sun, 5 Jan 1997 03:12:25 +0000 (22:12 -0500)]
(expand_expr, case COMPONENT_REF): If taking value from a CONSTRUCTOR,
must mask/sign-extend if bitfield.
(expand_builtin, case BUILT_IN_LONGJMP): Pass type, not IDENTIFIER,
to send arg of RETURN_POPS_ARGS.
From-SVN: r13373
Richard Kenner [Sun, 5 Jan 1997 03:03:27 +0000 (22:03 -0500)]
(expand_expr, case COND_EXPR): Add additional cases to "singleton"
cases.
From-SVN: r13372
Richard Kenner [Sat, 4 Jan 1997 23:58:26 +0000 (18:58 -0500)]
(store_fixed_bit_field): If not SLOW_UNALIGNED_ACCESS, treat
everything as maximally aligned.
From-SVN: r13371
Richard Kenner [Sat, 4 Jan 1997 23:48:04 +0000 (18:48 -0500)]
(find_split_point, case SET): If SET_SRC is NE and STORE_FLAG_VALUE is -1, see if we can convert into NEG of shift.
(find_split_point, case SET): If SET_SRC is NE and
STORE_FLAG_VALUE is -1, see if we can convert into NEG of shift.
(force_to_mode, case NE): Make condition stricter.
From-SVN: r13370
Richard Kenner [Sat, 4 Jan 1997 23:43:56 +0000 (18:43 -0500)]
(emit_library_call_value): Remove redundant check for outmode !=
VOIDmode.
From-SVN: r13369
Karl Berry [Sat, 4 Jan 1997 19:24:13 +0000 (19:24 +0000)]
Oops, did inadvertent branch.
From-SVN: r13368
Richard Kenner [Sat, 4 Jan 1997 13:15:46 +0000 (08:15 -0500)]
(addsi3...
(addsi3, addhi3): Use two addqw (or subqw) insns when adding (or
subtracting) small integer constants (8 < N <= 16) to both address and
data registers.
From-SVN: r13367
Richard Kenner [Sat, 4 Jan 1997 13:12:13 +0000 (08:12 -0500)]
(output_function_{pro,epi}logue): Use addq/subq when adjusting stack
pointer by small displacements.
From-SVN: r13366
Richard Kenner [Sat, 4 Jan 1997 12:05:57 +0000 (07:05 -0500)]
(basic_induction_var): Return 0 if SUBREG is not a promoted variable.
From-SVN: r13365
Richard Kenner [Sat, 4 Jan 1997 11:34:45 +0000 (06:34 -0500)]
(ENDFILE_SPEC): Use "gnu", not "gnu_cc".
From-SVN: r13364
Richard Kenner [Sat, 4 Jan 1997 11:34:23 +0000 (06:34 -0500)]
(vmskrunch): Try to not chop trailing uppercase letters.
From-SVN: r13363
Richard Kenner [Sat, 4 Jan 1997 11:22:32 +0000 (06:22 -0500)]
(PRINTF_PROTO): Use __printf__ in __attribute__, not printf.
From-SVN: r13362
Richard Kenner [Fri, 3 Jan 1997 16:13:19 +0000 (11:13 -0500)]
(rtx_equal_for_thread_p): Return 0 for floating-point.
From-SVN: r13361
Richard Kenner [Fri, 3 Jan 1997 15:50:25 +0000 (10:50 -0500)]
(find_reloads): If replaced a PLUS or MULT with a simple operand,
start over again.
From-SVN: r13360
Richard Kenner [Fri, 3 Jan 1997 14:00:55 +0000 (09:00 -0500)]
(cmov): Fix operand numbers in case involving DF target, DF
comparison, SF source.
From-SVN: r13359
Richard Kenner [Fri, 3 Jan 1997 13:38:47 +0000 (08:38 -0500)]
(M68*:*:R3V[567]*:*): Use uppercase 'M'.
From-SVN: r13357
Richard Kenner [Fri, 3 Jan 1997 13:19:34 +0000 (08:19 -0500)]
(macroexpand): Delete any no-reexpansion marker that follows an identifier at...
(macroexpand): Delete any no-reexpansion marker that follows an
identifier at the beginning of an argument that is concatenated with
what precedes it.
From-SVN: r13356
Richard Kenner [Fri, 3 Jan 1997 12:59:13 +0000 (07:59 -0500)]
(fill_slots_from_thread): Skip moved insn in all three cases.
From-SVN: r13355
Richard Kenner [Fri, 3 Jan 1997 12:51:40 +0000 (07:51 -0500)]
(struct function): New field args_info.
From-SVN: r13354
Richard Kenner [Fri, 3 Jan 1997 12:51:07 +0000 (07:51 -0500)]
(push_function_context_to, pop_function_context_from): Save and
restore current_function_args_info.
From-SVN: r13353
Richard Kenner [Fri, 3 Jan 1997 11:55:06 +0000 (06:55 -0500)]
Check for __VMS__, not VMS.
From-SVN: r13352
Ian Lance Taylor [Tue, 31 Dec 1996 20:54:33 +0000 (20:54 +0000)]
Handle mips-unknown-linux-gnu
From-SVN: r13348
Ian Lance Taylor [Tue, 31 Dec 1996 20:51:53 +0000 (20:51 +0000)]
Recognize mips-unknown-linux-gnu
From-SVN: r13347
Jeff Law [Tue, 31 Dec 1996 00:14:56 +0000 (17:14 -0700)]
pa.c (fmpy_operands): Remove.
* pa/pa.c (fmpy_operands): Remove. No longer needed.
(combinable_add, combinable_copy, combinable_fmpy): Likewise.
(combinable_fadd, combineable_fsub): Likewise.
(pa_reorg): Call pa_combine_instructions.
(pa_combine_instructions): Combine instructions to make things
like fmpyadd and fmpysub.
(pa_can_combine_p): Helper function for pa_combine_instructions.
* pa/pa.md (pa_combine_type): New attribute. Set it appropriately
for various insns.
(define_delays): Use a separate define_delay for unconditional
branches.
(fmpyadd, fmpysub peepholes): Remove, no longer needed.
(fmpyadd, fmpysub insns): Add variant with fadd/fsub first,
then the fmpy.
From-SVN: r13346
Jim Wilson [Mon, 30 Dec 1996 19:55:54 +0000 (11:55 -0800)]
(subst_stack_regs_pat): Set src_note explicitly, instead
of using invalid aggregate initialization.
From-SVN: r13345
Jim Wilson [Mon, 30 Dec 1996 19:42:59 +0000 (11:42 -0800)]
(print_node): Don't try to print nonexistent
TYPE_ATTRIBUTES field of a decl node.
From-SVN: r13344
Mike Stump [Fri, 27 Dec 1996 19:34:34 +0000 (19:34 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13343
Michael Meissner [Thu, 26 Dec 1996 21:31:18 +0000 (21:31 +0000)]
Set length of V.4 pic initialization
From-SVN: r13342
Jim Wilson [Tue, 24 Dec 1996 01:59:00 +0000 (17:59 -0800)]
(FUNCTION_ARG_REGNO_P): Correct for TARGET_SOFT_FLOAT and
TARGET_FLOAT64 cases.
From-SVN: r13341
Jim Wilson [Tue, 24 Dec 1996 00:38:22 +0000 (16:38 -0800)]
(function_cannot_inline_p): Reject function with PARALLEL result.
(function_cannot_inline_p): Reject function with
PARALLEL result.
(expand_inline_function): Abort if function result not handled.
From-SVN: r13340
Jason Merrill [Sat, 21 Dec 1996 12:06:53 +0000 (12:06 +0000)]
x
From-SVN: r13339
Brendan Kehoe [Fri, 20 Dec 1996 20:26:35 +0000 (20:26 +0000)]
g++spec.c (lang_specific_driver): Put missing hyphen in front of arguments we compare against.
* g++spec.c (lang_specific_driver): Put missing hyphen in front of
arguments we compare against. Start the count of I at 1, not 0,
since argv[0] is still the command.
From-SVN: r13338
Jeff Law [Wed, 18 Dec 1996 17:32:12 +0000 (10:32 -0700)]
mn10300.c (notice_update_cc): Enable this code.
* mn10300/mn10300.c (notice_update_cc): Enable this code.
* mn10300/mn10300.h (CC_OVERFLOW_UNUSABLE): Define.
* mn10300/mn10300.md (tstsi): Use "set_zn_c0" instead of "set"
for cc status.
(addsi3 pattern): Break "inc" into two different alternatives
since "inc dn" sets cc0, but "inc an" does not.
(multiply and divide patterns): Fix cc status.
(bCC, inverted bCC): Restore any comparison which needs the
overflow bits when CC_OVERFLOW_UNUSABLE is set.
(zero and sign extensions): Fix cc status.
(movm_store): Likewise.
From-SVN: r13337
Ulrich Drepper [Wed, 18 Dec 1996 03:22:53 +0000 (03:22 +0000)]
update from main archive 961217
From-SVN: r13322
Mike Stump [Wed, 18 Dec 1996 02:46:25 +0000 (02:46 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13321
Mike Stump [Wed, 18 Dec 1996 02:45:53 +0000 (02:45 +0000)]
Initial revision
From-SVN: r13320
Mike Stump [Wed, 18 Dec 1996 01:44:21 +0000 (01:44 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13319
Jim Wilson [Tue, 17 Dec 1996 20:02:06 +0000 (12:02 -0800)]
(update_flow_info): When add REG_DEAD notes for dest of
last insn, add check for global_regs.
From-SVN: r13318
Michael Meissner [Tue, 17 Dec 1996 16:07:11 +0000 (16:07 +0000)]
Delete HAS_INIT_SECTION
From-SVN: r13317
Paul Eggert [Tue, 17 Dec 1996 06:25:17 +0000 (06:25 +0000)]
Spelling fix.
From-SVN: r13315
Jim Wilson [Tue, 17 Dec 1996 02:25:39 +0000 (18:25 -0800)]
(nonzero_bits): Ifdef out calls to num_sign_bit_copies.
Add dummy define/undef for num_sign_bit_copies.
From-SVN: r13314
Jim Wilson [Mon, 16 Dec 1996 21:02:01 +0000 (13:02 -0800)]
(location_or_const_value_attribute, case CONCAT): Add.
From-SVN: r13313
Jim Wilson [Mon, 16 Dec 1996 20:27:35 +0000 (12:27 -0800)]
(simplify_comparison): Use mode_width as shift count
only if it is less than or equal to HOST_BITS_PER_WIDE_INT.
From-SVN: r13312
Jeff Law [Mon, 16 Dec 1996 17:18:18 +0000 (10:18 -0700)]
mn10300.c (expand_epilogue): Restore registers in the "ret" instruction instead of a separate movm instruction.
* mn10300/mn10300.c (expand_epilogue): Restore registers in the
"ret" instruction instead of a separate movm instruction.
Support possible stack deallocation in "ret" instruction too.
* mn10300.md (return_internal): Use "ret" instead of "rets";
restore registers and deallocate stack as needed.
(load_movm): Delete unused pattern.
* mn10300/mn10300.h (SMALL_REGISTER_CLASSES): Define.
From-SVN: r13311
Jason Merrill [Sat, 14 Dec 1996 00:45:54 +0000 (00:45 +0000)]
remove accidental change
From-SVN: r13310
Stan Cox [Fri, 13 Dec 1996 21:36:14 +0000 (21:36 +0000)]
(CONST_SECTION_ASM_OP): Add .align 1
From-SVN: r13309
Stan Cox [Fri, 13 Dec 1996 21:31:19 +0000 (21:31 +0000)]
(override_options): Set default for -mcpu to PROCESSOR_DEFAULT_STRING.
From-SVN: r13308
Joern Rennecke [Fri, 13 Dec 1996 19:46:28 +0000 (19:46 +0000)]
(dect): Rewrite pattern so that it can be combined.
From-SVN: r13307
Ian Lance Taylor [Fri, 13 Dec 1996 18:15:16 +0000 (18:15 +0000)]
Call ASM_OUTPUT_POOL_EPILOGUE after outputting the constant pool
From-SVN: r13306
Jason Merrill [Fri, 13 Dec 1996 01:31:47 +0000 (01:31 +0000)]
x
From-SVN: r13305
Ian Lance Taylor [Fri, 13 Dec 1996 01:28:42 +0000 (01:28 +0000)]
Check CONSTANT_POOL_BEFORE_FUNCTION to control placement of constant
pool
From-SVN: r13304
Ian Lance Taylor [Fri, 13 Dec 1996 01:05:20 +0000 (01:05 +0000)]
Define SMALL_REGISTER_CLASSES with a value
From-SVN: r13303
Ian Lance Taylor [Fri, 13 Dec 1996 01:00:49 +0000 (01:00 +0000)]
Check SMALL_REGISTER_CLASSES at runtime
From-SVN: r13302
Richard Kenner [Thu, 12 Dec 1996 22:55:05 +0000 (17:55 -0500)]
(maybe_get_identifier): New declaration.
From-SVN: r13301
Richard Kenner [Thu, 12 Dec 1996 22:52:13 +0000 (17:52 -0500)]
(emit_library_call): Don't pass VOIDmode to type_for_mode.
From-SVN: r13300
Michael Meissner [Thu, 12 Dec 1996 21:14:40 +0000 (21:14 +0000)]
Only do @plt calls if -fpic.
From-SVN: r13299
Michael Meissner [Thu, 12 Dec 1996 20:55:56 +0000 (20:55 +0000)]
Add @plt if -fpic; Fix double->int conversions if stack > 32k; Redo t-* files; Fix trampolines on System V systems
From-SVN: r13298
Jeff Law [Thu, 12 Dec 1996 18:05:55 +0000 (11:05 -0700)]
reorg.c (fill_slots_from_thread): Don't call eligible_for_delay with an insn with asm operands.
* reorg.c (fill_slots_from_thread): Don't call eligible_for_delay
with an insn with asm operands.
From-SVN: r13297
Jeff Law [Thu, 12 Dec 1996 17:57:58 +0000 (10:57 -0700)]
* expmed.c (emit_store_flag_force): Fix typos/thinkos.
From-SVN: r13296
Richard Kenner [Thu, 12 Dec 1996 13:29:02 +0000 (08:29 -0500)]
Add definitions for VMS; they differ from Unix.
From-SVN: r13295
Richard Kenner [Thu, 12 Dec 1996 13:09:15 +0000 (08:09 -0500)]
(i386_return_pops_args): Libcalls ignore TARGET_RTD.
From-SVN: r13294
Richard Kenner [Thu, 12 Dec 1996 12:59:19 +0000 (07:59 -0500)]
(stamp-objlist): Handle first character of object file being a digit.
From-SVN: r13293
Richard Kenner [Thu, 12 Dec 1996 12:56:00 +0000 (07:56 -0500)]
Remove unneeded casts to char *.
From-SVN: r13292
Richard Kenner [Thu, 12 Dec 1996 12:55:45 +0000 (07:55 -0500)]
(function_arg, {movcnt,mod}_regno_adjust): Add decls.
(branch_or_jump): Likewise.
From-SVN: r13291
Richard Earnshaw [Thu, 12 Dec 1996 10:53:05 +0000 (10:53 +0000)]
(arm_gen_constant, case IOR,XOR): Don't invert a constant if loading
it into a temporary.
From-SVN: r13290
Brendan Kehoe [Thu, 12 Dec 1996 00:30:15 +0000 (19:30 -0500)]
toplev.c (rest_of_compilation): Make sure that the unwinder RTL is saved.
* toplev.c (rest_of_compilation): Make sure that the unwinder RTL
is saved.
From-SVN: r13289
Brendan Kehoe [Wed, 11 Dec 1996 23:58:22 +0000 (18:58 -0500)]
collect2.c (write_c_file): Wrap the ctor/dtor lists and fns with `extern "C" { ...
* collect2.c (write_c_file): Wrap the ctor/dtor lists and fns with
`extern "C" { ... }', to avoid having the fn names mangled with
the C++ driver.
From-SVN: r13288
Richard Kenner [Wed, 11 Dec 1996 22:50:06 +0000 (17:50 -0500)]
(tree_decl): Reorder field declarations to reduce size on 64 bit
machines.
From-SVN: r13287
Richard Kenner [Wed, 11 Dec 1996 22:46:34 +0000 (17:46 -0500)]
(try_combine): When splitting an insn, check for the new I2 setting a
SUBREG.
From-SVN: r13286
Richard Kenner [Wed, 11 Dec 1996 22:25:57 +0000 (17:25 -0500)]
(print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of using "%ld".
(output_prolog): Don't print useless comment for VMS.
From-SVN: r13285
Richard Kenner [Wed, 11 Dec 1996 22:08:02 +0000 (17:08 -0500)]
(mov[hq]i unnamed): Split up for TARGET_BYTE_OPS and not.
From-SVN: r13284
Richard Kenner [Wed, 11 Dec 1996 22:07:49 +0000 (17:07 -0500)]
(output_prolog): SIZE is now HOST_WIDE_INT.
From-SVN: r13283
Richard Kenner [Wed, 11 Dec 1996 22:00:41 +0000 (17:00 -0500)]
(fixup_var_refs_1, case ZERO_EXTRACT): Don't call fixup_memory_subreg
if no longer SUBREG of MEM.
From-SVN: r13282
Jeff Law [Wed, 11 Dec 1996 21:28:52 +0000 (14:28 -0700)]
mn10300.c: New file for Matsushita MN10300 port.
* mn10300/mn10300.c: New file for Matsushita MN10300 port.
* mn10300/{mn10300.h,mn10300.md,t-mn10300,xm-mn10300.h}: Likewise.
* config.sub: Recognize mn10300 as a basic machine type.
* configure: Similarly.
* ginclude/stdarg.h: mn10300 is little endian.
* ginclude/varargs.h: Likewise.
From-SVN: r13281
Jeff Law [Wed, 11 Dec 1996 21:22:57 +0000 (14:22 -0700)]
Initial revision
From-SVN: r13280
Richard Kenner [Wed, 11 Dec 1996 14:09:06 +0000 (09:09 -0500)]
(cacheflush): Add SONY NEWS-OS 4.2 version.
From-SVN: r13279
Richard Kenner [Wed, 11 Dec 1996 14:01:35 +0000 (09:01 -0500)]
(RETURN_POPS_ARGS): Test first argument for IDENTIFIER_NODE.
From-SVN: r13278
Richard Kenner [Wed, 11 Dec 1996 13:58:51 +0000 (08:58 -0500)]
(obsolete RETURN_POPS_ARGS): Test first argument for IDENTIFIER_NODE.
From-SVN: r13277
Richard Kenner [Wed, 11 Dec 1996 13:58:29 +0000 (08:58 -0500)]
(i386_return_pops_args): Don't test for IDENTIFIER_NODE.
From-SVN: r13276
Richard Kenner [Wed, 11 Dec 1996 13:58:10 +0000 (08:58 -0500)]
(emit_library_call...
(emit_library_call, emit_library_call_value): Don't pass an identifier
node as function type for library functions, but rather build a
function type that has a return type with the correct mode.
From-SVN: r13275
Richard Kenner [Wed, 11 Dec 1996 01:20:59 +0000 (20:20 -0500)]
(combinable_i3pat): Bring back to sync with can_combine_p.
From-SVN: r13274
David J. MacKenzie [Wed, 11 Dec 1996 00:37:52 +0000 (00:37 +0000)]
config.guess: Recognize machten.
* config.guess: Recognize machten.
From Eric W. Bates <ericx@vineyard.net>.
From-SVN: r13267
Richard Kenner [Tue, 10 Dec 1996 22:36:39 +0000 (17:36 -0500)]
(output_function_{pro,epi}logue): Use lea instead of add.w when
adjusting stack pointer on all but TARGET_68040.
From-SVN: r13266
Richard Kenner [Tue, 10 Dec 1996 22:13:04 +0000 (17:13 -0500)]
(add[hs]i3): Only use two addq.w or subq.w instructions when...
(add[hs]i3): Only use two addq.w or subq.w instructions
when adding or subtracting constants 8 < N < 16 on TARGET_CPU32.
Use lea instead of add.w when adding 16 bit constants to address
registers on all but TARGET_68040.
From-SVN: r13265
Richard Kenner [Tue, 10 Dec 1996 22:11:00 +0000 (17:11 -0500)]
(TARGET_CPU32): New macro.
From-SVN: r13264
Richard Kenner [Tue, 10 Dec 1996 22:04:20 +0000 (17:04 -0500)]
(choose_temp_base): Don't dump core if TMPDIR is empty.
From-SVN: r13263
Ian Lance Taylor [Tue, 10 Dec 1996 20:56:07 +0000 (20:56 +0000)]
Treat ZERO_EXTEND like SIGN_EXTEND in emit_unop_insn
From-SVN: r13262
Joern Rennecke [Tue, 10 Dec 1996 18:47:02 +0000 (18:47 +0000)]
(ADJUST_INSN_LENGTH): don't break from loop when only a LOOP_BEG is found.
Calculate padding in new variable pad.
From-SVN: r13261
Richard Kenner [Tue, 10 Dec 1996 14:44:55 +0000 (09:44 -0500)]
(try): Insist that temp dir be searchable.
From-SVN: r13260
Jason Merrill [Tue, 10 Dec 1996 02:18:38 +0000 (02:18 +0000)]
x
From-SVN: r13259
Jason Merrill [Mon, 9 Dec 1996 22:31:23 +0000 (22:31 +0000)]
x
From-SVN: r13258
Stan Cox [Mon, 9 Dec 1996 21:37:37 +0000 (21:37 +0000)]
(jump_optimize): Don't move initialization if there is a label between it and the jump for if (foo) bar++ to bar += (foo !=0)
From-SVN: r13257
Stan Cox [Mon, 9 Dec 1996 21:29:02 +0000 (21:29 +0000)]
Remove change of Oct 4.
From-SVN: r13256
Jim Wilson [Mon, 9 Dec 1996 20:36:06 +0000 (12:36 -0800)]
(enum dwarf_location_atom): Add OP_MULT.
From-SVN: r13255
Jim Wilson [Mon, 9 Dec 1996 20:34:02 +0000 (12:34 -0800)]
(output_mem_loc_descriptor, case MULT): Add.
(dwarf_fund_type_name, case FT_unsigned_int64): Fix typo.
From-SVN: r13254
Jim Wilson [Mon, 9 Dec 1996 20:32:33 +0000 (12:32 -0800)]
(mem_loc_descriptor, case MULT): Add.
From-SVN: r13253
Jim Wilson [Mon, 9 Dec 1996 20:22:51 +0000 (12:22 -0800)]
(exeext): Delete.
From-SVN: r13252
Richard Kenner [Sat, 7 Dec 1996 23:59:35 +0000 (18:59 -0500)]
Update comments.
From-SVN: r13251
Richard Kenner [Sat, 7 Dec 1996 23:58:28 +0000 (18:58 -0500)]
(stdlib.h): Define __USE_FIXED_PROTOTYPES__ before including stdlib.h.
From-SVN: r13250
Richard Kenner [Sat, 7 Dec 1996 23:58:08 +0000 (18:58 -0500)]
(iorsi_zexthi_ashl16): New pattern.
(ashrsi_16): New name for old unnamed pattern.
From-SVN: r13249