Commit Graph

12916 Commits

Author SHA1 Message Date
Richard Kenner
0d15e60cd5 (get_inner_reference): Fix type error.
(expand_expr, case COMPONENT_REF): Don't convert if modifier
is EXPAND_CONST_ADDRESS, EXPAND_SUM, or EXPAND_INITIALIZER.

From-SVN: r13375
1997-01-04 22:21:00 -05:00
Richard Kenner
5cb1f2fa91 (integer_pow2): Mask value to width of type.
(tree_log2): New function.

From-SVN: r13374
1997-01-04 22:15:48 -05:00
Richard Kenner
86b5812c18 (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
1997-01-04 22:12:25 -05:00
Richard Kenner
ac01eace31 (expand_expr, case COND_EXPR): Add additional cases to "singleton"
cases.

From-SVN: r13372
1997-01-04 22:03:27 -05:00
Richard Kenner
c7554b2898 (store_fixed_bit_field): If not SLOW_UNALIGNED_ACCESS, treat
everything as maximally aligned.

From-SVN: r13371
1997-01-04 18:58:26 -05:00
Richard Kenner
1a6ec0703b (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
1997-01-04 18:48:04 -05:00
Richard Kenner
4d6a19ff0f (emit_library_call_value): Remove redundant check for outmode !=
VOIDmode.

From-SVN: r13369
1997-01-04 18:43:56 -05:00
Karl Berry
14b0fb0724 Oops, did inadvertent branch.
From-SVN: r13368
1997-01-04 19:24:13 +00:00
Richard Kenner
bc8c44a637 (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
1997-01-04 08:15:46 -05:00
Richard Kenner
7bc88d4933 (output_function_{pro,epi}logue): Use addq/subq when adjusting stack
pointer by small displacements.

From-SVN: r13366
1997-01-04 08:12:13 -05:00
Richard Kenner
fe1590618e (basic_induction_var): Return 0 if SUBREG is not a promoted variable.
From-SVN: r13365
1997-01-04 07:05:57 -05:00
Richard Kenner
c2ae5b5f4e (ENDFILE_SPEC): Use "gnu", not "gnu_cc".
From-SVN: r13364
1997-01-04 06:34:45 -05:00
Richard Kenner
7f11fbd569 (vmskrunch): Try to not chop trailing uppercase letters.
From-SVN: r13363
1997-01-04 06:34:23 -05:00
Richard Kenner
095f66970e (PRINTF_PROTO): Use __printf__ in __attribute__, not printf.
From-SVN: r13362
1997-01-04 06:22:32 -05:00
Richard Kenner
35d9eabb9d (rtx_equal_for_thread_p): Return 0 for floating-point.
From-SVN: r13361
1997-01-03 11:13:19 -05:00
Richard Kenner
b685dbaebc (find_reloads): If replaced a PLUS or MULT with a simple operand,
start over again.

From-SVN: r13360
1997-01-03 10:50:25 -05:00
Richard Kenner
161cca9adc (cmov): Fix operand numbers in case involving DF target, DF
comparison, SF source.

From-SVN: r13359
1997-01-03 09:00:55 -05:00
Richard Kenner
2a4f347de7 (M68*:*:R3V[567]*:*): Use uppercase 'M'.
From-SVN: r13357
1997-01-03 08:38:47 -05:00
Richard Kenner
d8bfa78c42 (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
1997-01-03 08:19:34 -05:00
Richard Kenner
a7ad699e3d (fill_slots_from_thread): Skip moved insn in all three cases.
From-SVN: r13355
1997-01-03 07:59:13 -05:00
Richard Kenner
1de9b9763f (struct function): New field args_info.
From-SVN: r13354
1997-01-03 07:51:40 -05:00
Richard Kenner
01c1558a9c (push_function_context_to, pop_function_context_from): Save and
restore current_function_args_info.

From-SVN: r13353
1997-01-03 07:51:07 -05:00
Richard Kenner
6fea3f8bc8 Check for __VMS__, not VMS.
From-SVN: r13352
1997-01-03 06:55:06 -05:00
Ian Lance Taylor
72bbcd5680 Handle mips-unknown-linux-gnu
From-SVN: r13348
1996-12-31 20:54:33 +00:00
Ian Lance Taylor
723f15588e Recognize mips-unknown-linux-gnu
From-SVN: r13347
1996-12-31 20:51:53 +00:00
Jeff Law
c4bb6b3818 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
1996-12-30 17:14:56 -07:00
Jim Wilson
545526514b (subst_stack_regs_pat): Set src_note explicitly, instead
of using invalid aggregate initialization.

From-SVN: r13345
1996-12-30 11:55:54 -08:00
Jim Wilson
a759633809 (print_node): Don't try to print nonexistent
TYPE_ATTRIBUTES field of a decl node.

From-SVN: r13344
1996-12-30 11:42:59 -08:00
Mike Stump
f7da60971f 90th Cygnus<->FSF quick merge
From-SVN: r13343
1996-12-27 19:34:34 +00:00
Michael Meissner
63d7d7a177 Set length of V.4 pic initialization
From-SVN: r13342
1996-12-26 21:31:18 +00:00
Jim Wilson
46af8e31a3 (FUNCTION_ARG_REGNO_P): Correct for TARGET_SOFT_FLOAT and
TARGET_FLOAT64 cases.

From-SVN: r13341
1996-12-23 17:59:00 -08:00
Jim Wilson
64ed0f40d3 (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
1996-12-23 16:38:22 -08:00
Jason Merrill
141719a8d7 x
From-SVN: r13339
1996-12-21 12:06:53 +00:00
Brendan Kehoe
1bf2b2d2a8 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
1996-12-20 15:26:35 -05:00
Jeff Law
82c6faa8ba 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
1996-12-18 10:32:12 -07:00
Ulrich Drepper
3e5fc51d66 update from main archive 961217
From-SVN: r13322
1996-12-18 03:22:53 +00:00
Mike Stump
d2e5ee5c70 90th Cygnus<->FSF quick merge
From-SVN: r13321
1996-12-18 02:46:25 +00:00
Mike Stump
f442f7234e Initial revision
From-SVN: r13320
1996-12-18 02:45:53 +00:00
Mike Stump
faf5394a1b 90th Cygnus<->FSF quick merge
From-SVN: r13319
1996-12-18 01:44:21 +00:00
Jim Wilson
a2f2ce96f8 (update_flow_info): When add REG_DEAD notes for dest of
last insn, add check for global_regs.

From-SVN: r13318
1996-12-17 12:02:06 -08:00
Michael Meissner
0a49cbd463 Delete HAS_INIT_SECTION
From-SVN: r13317
1996-12-17 16:07:11 +00:00
Paul Eggert
866a6c956c Spelling fix.
From-SVN: r13315
1996-12-17 06:25:17 +00:00
Jim Wilson
b3728b0e0e (nonzero_bits): Ifdef out calls to num_sign_bit_copies.
Add dummy define/undef for num_sign_bit_copies.

From-SVN: r13314
1996-12-16 18:25:39 -08:00
Jim Wilson
7b1bcb4940 (location_or_const_value_attribute, case CONCAT): Add.
From-SVN: r13313
1996-12-16 13:02:01 -08:00
Jim Wilson
f77aada2b4 (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
1996-12-16 12:27:35 -08:00
Jeff Law
4246e0c55b 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
1996-12-16 10:18:18 -07:00
Jason Merrill
58d1a58230 remove accidental change
From-SVN: r13310
1996-12-14 00:45:54 +00:00
Stan Cox
444a059e63 (CONST_SECTION_ASM_OP): Add .align 1
From-SVN: r13309
1996-12-13 21:36:14 +00:00
Stan Cox
7cae778a2d (override_options): Set default for -mcpu to PROCESSOR_DEFAULT_STRING.
From-SVN: r13308
1996-12-13 21:31:19 +00:00
Joern Rennecke
aff48e325b (dect): Rewrite pattern so that it can be combined.
From-SVN: r13307
1996-12-13 19:46:28 +00:00