Torbjorn Granlund
304f705fef
Clean up indentation.
...
From-SVN: r2116
1992-09-13 16:02:23 +00:00
Torbjorn Granlund
0e7f4c1941
(compute_xdepi_operands_from_integer): New function.
...
Some code come from output_zdepi.
(output_zdepi): Removed. (depi_cint_operand): New name for zdepi_operand.
(consec_zeros_p, and_operand, ior_mask_p, ior_operand,
output_and, output_ior): New functions.
(output_load_address): Removed. Nothing uses it.
From-SVN: r2115
1992-09-13 15:39:59 +00:00
Torbjorn Granlund
7254dbd497
(output_and, output_ior): Declare.
...
(CONST_OK_FOR_LETTER_P): Add 'O' and 'P'.
From-SVN: r2114
1992-09-13 15:38:06 +00:00
Torbjorn Granlund
876662ef35
(several patterns): Make sure # of attribute alternatives match # of constraint alternatives.
...
(several patterns): Make sure # of attribute alternatives
match # of constraint alternatives.
Return assembler output template instead of calling output_asm_insn.
Don't write to operands[n] for n >= max operand number in the
pattern, use xoperands instead.
(casesi): Rewrite. Used to be buggy and slow.
(and-not patterns): Make them canonical. Put operands in the right order.
(negsi2): Don't use @ for just one output template.
(movstrsi): Change `!= 4' => `< 4' in test for alignment.
(adddi3): Extend to handle CONST_INT.
(ior-with-immediate optimizer): New pattern.
(and-with-immediate optimizer): New pattern.
(sCC, bCC expanders): Remove constraints.
(high:DI recognizer): Add return \"\".
From-SVN: r2113
1992-09-13 15:28:38 +00:00
Timothy Moore
a9ab5e000d
*** empty log message ***
...
From-SVN: r2112
1992-09-13 15:11:55 +00:00
Richard Stallman
a120b7889d
(yylex): If integer value overflows so highword is negative,
...
it needs unsigned long long.
From-SVN: r2111
1992-09-12 19:08:12 +00:00
Richard Stallman
9bd23d2c95
(__gcc_bcmp): New function, in cond on L__gcc_bcmp.
...
From-SVN: r2110
1992-09-12 08:45:46 +00:00
Richard Stallman
bb3facc561
(va_alist): Supply `int' as the type to define it as.
...
From-SVN: r2109
1992-09-12 01:10:28 +00:00
Richard Stallman
d847e6a7b5
(duplicate_decls): For file-scope redefinitions,
...
error message distinguishes previous definitions from mere decls.
From-SVN: r2108
1992-09-11 23:22:07 +00:00
Jeff Law
e9cfad814f
pa.md (non-[cf]branch define_delay): Use a single delay description for the delay slots in "branch"...
...
* pa.md (non-[cf]branch define_delay): Use a single delay description
for the delay slots in "branch", "call", and "milli" insns.
(fbranch define_delay): fbranches have a single delay slot which
may be nullified when the branch is taken (regardless of direction
or distance to the target.)
(in_branch_delay attribute): Disallow fbranch insns explicitly.
(floating point branches): Use "fbranch" attribute for these insns.
Update output template to properly handle nullification.
From-SVN: r2107
1992-09-11 10:39:13 -06:00
Richard Stallman
17651386ee
(build_binary_op): When checking shift widths, don't assume target integer
...
fits in a HOST_WIDE_INT.
From-SVN: r2106
1992-09-11 08:53:34 +00:00
Richard Stallman
2d7243898e
(finish_struct): Don't assume that a target integer
...
fits in a HOST_WIDE_INT when checking bit-field widths.
From-SVN: r2105
1992-09-11 08:52:38 +00:00
Richard Stallman
1f0c5cc9cf
(convert_to_integer): Don't pass truncation thru lshift if shift count >= width of narrower type.
...
(convert_to_integer): Don't pass truncation thru lshift
if shift count >= width of narrower type. Instead, just use 0.
From-SVN: r2104
1992-09-11 07:35:32 +00:00
Richard Stallman
4f61da45f3
(SIZE_TYPE): Defined.
...
From-SVN: r2103
1992-09-11 05:07:29 +00:00
Richard Stallman
92b170eee9
Comment changes.
...
From-SVN: r2102
1992-09-11 02:01:46 +00:00
Richard Stallman
6f43c15742
(expand_binop): Fix typo, mode' =>
methods'.
...
(expand_binop): Delete #ifdef GPC; complex code now uncond.
(expand_binop): Fix typo, `mode' => `methods'.
From-SVN: r2101
1992-09-11 01:15:31 +00:00
Timothy Moore
f12b8918d7
*** empty log message ***
...
From-SVN: r2100
1992-09-10 22:27:06 +00:00
Timothy Moore
4beba5dae7
(main) Write declaration for const_num_delay_slots ().
...
From-SVN: r2099
1992-09-10 22:20:56 +00:00
Timothy Moore
48f25c7ad6
(shorten_branches): Do shorten branches with delay slots
...
if the number of delay slots is constant.
From-SVN: r2098
1992-09-10 22:20:15 +00:00
Michael Meissner
ed50ab354c
Do not allow memory->memory moves to be generated.
...
From-SVN: r2097
1992-09-10 21:37:46 +00:00
Torbjorn Granlund
a2a5059bb6
(casesi): Add `&' to constraint for clobber operand.
...
From-SVN: r2096
1992-09-10 16:47:30 +00:00
Richard Stallman
6152f87688
(declare_function_name): Allow for anonymous function.
...
From-SVN: r2095
1992-09-10 05:33:47 +00:00
Richard Stallman
db69cfcb78
Add comments.
...
From-SVN: r2094
1992-09-10 04:31:39 +00:00
Richard Stallman
16ab04d355
(init_fixtab): Fix typo for fix_truncdfqi2.
...
From-SVN: r2093
1992-09-10 04:21:33 +00:00
Richard Stallman
b818abb0b1
(init_optabs): Use __gcc_bcmp, not real bcmp.
...
(expand_unop): Handle NEG for complex modes.
(expand_binop): Likewise.
(expand_complex_binop): New function.
From-SVN: r2092
1992-09-10 01:00:39 +00:00
Richard Stallman
7c65f72c8e
(mostlyclean): Delete xlimits.h.
...
From-SVN: r2091
1992-09-10 00:47:35 +00:00
Richard Stallman
ce35884de1
(output_addr_const): If 2nd arg of MINUS is negative integer, put it in parens.
...
From-SVN: r2090
1992-09-09 20:35:19 +00:00
Michael Meissner
027b4a722d
Fix va_arg for structures larger than 8 bytes.
...
From-SVN: r2089
1992-09-09 14:12:07 +00:00
Richard Stallman
f167e25de4
(.nope): Really store into environ.
...
From-SVN: r2088
1992-09-09 09:03:13 +00:00
Richard Stallman
bc99efc9d6
(build_index_type, build_index_2_type): Don't pass HOST_WIDE_INT to routine expecting an int.
...
(build_index_type, build_index_2_type): Don't pass
HOST_WIDE_INT to routine expecting an int. Don't pass negative
value even if hash code is INT_MIN.
From-SVN: r2087
1992-09-09 07:00:48 +00:00
Richard Stallman
d434a42c5b
(convert_to_integer): When optimizing LSHIFT_EXPR and
...
RSHIFT_EXPR, do compares at tree level.
From-SVN: r2086
1992-09-09 06:56:35 +00:00
Richard Stallman
24f8db991b
Declare gen_highpart.
...
From-SVN: r2085
1992-09-09 06:45:00 +00:00
Richard Stallman
ccba022bcb
(gen_highpart): New function.
...
From-SVN: r2084
1992-09-09 06:43:57 +00:00
Richard Stallman
89b48889f1
(print_node): Handle BOOLEAN_TYPE and CHAR_TYPE.
...
From-SVN: r2083
1992-09-09 06:40:37 +00:00
Richard Stallman
7308a047ab
(expand_expr): Support IN_EXPR.
...
(init_expr_once): Don't try HARD_REGNO_MODE_OK on VOIDmode or BLKmode.
(emit_move_insn): When moving word by word,
mark the whole thing as a libcall block.
(group_insns): New function.
(expand_expr): Implement COMPLEX_EXPR, REALPART_EXPR, IMAGPART_EXPR, CONJ_EXPR.
From-SVN: r2082
1992-09-09 06:38:59 +00:00
Richard Stallman
a11ad2c36c
(LIB2FUNCS): Add L__gcc_bcmp.
...
From-SVN: r2081
1992-09-09 06:37:33 +00:00
Richard Stallman
4cc89e5371
(layout_type): Caller must give size of FILE_TYPE.
...
(layout_type): Handle BOOLEAN_TYPE, CHAR_TYPE, FILE_TYPE for Pascal.
(fixup_signed_type): New function.
From-SVN: r2080
1992-09-09 06:28:36 +00:00
Richard Stallman
15a5b8a22a
(dbxout_type_fields): Handle nameless subrecords for Pascal.
...
(dbxout_type): Handle CHAR_TYPE, BOOLEAN_TYPE. FILE_TYPE, SET_TYPE.
From-SVN: r2079
1992-09-09 00:27:40 +00:00
Richard Stallman
1b6374aa53
(ASM_OUTPUT_OPCODE): Deleted.
...
From-SVN: r2078
1992-09-08 21:55:42 +00:00
Mike Stump
2cc3ac7a34
Add BINFO_VPTR_FIELD definition.
...
From-SVN: r2077
1992-09-08 09:25:09 +00:00
Brendan Kehoe
9657188305
Moved constant_expression_warning into c-common.c.
...
From-SVN: r2076
1992-09-07 19:42:39 -04:00
Richard Stallman
2a23183eba
(convert_for_assignment): Warn about constant integer
...
overflow even if no conversion is involved.
From-SVN: r2075
1992-09-07 21:22:56 +00:00
Richard Stallman
850cba2976
(duplicate_decls): Set DECL_INLINE in newdecl so it is copied into olddecl.
...
Don't set DECL_EXTERNAL in olddecl.
Preserve DECL_UID of olddecl.
From-SVN: r2074
1992-09-07 06:57:50 +00:00
Richard Stallman
08611787e3
(FSGLMUL_USE_S): Defined.
...
From-SVN: r2073
1992-09-07 06:17:38 +00:00
Richard Stallman
ea0470bf6c
(fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.
...
From-SVN: r2072
1992-09-07 06:17:16 +00:00
Richard Stallman
023de2924d
(grokparms): Copy arg type list to savable obstack if nec.
...
From-SVN: r2071
1992-09-07 06:08:44 +00:00
Richard Stallman
bc690db148
(check_case_value): Call constant_expression_warning.
...
From-SVN: r2070
1992-09-07 06:07:30 +00:00
Richard Stallman
2d7a4cf5cf
(const_binop): Fix typo.
...
From-SVN: r2069
1992-09-07 06:06:12 +00:00
Richard Stallman
3b9b4d3fa6
(main): No program should return the error_count!
...
Return 2 if failure due to signal, 1 if just errors.
(execute): Increment signal_count.
From-SVN: r2068
1992-09-07 06:04:38 +00:00
Richard Stallman
07d8ca2d92
(record_reg_class): For matching operands...
...
(record_reg_class): For matching operands, handle
case where the earlier one is not a pseudo like the case
where the later one is not a pseudo.
From-SVN: r2067
1992-09-07 05:56:52 +00:00