Commit Graph

10482 Commits

Author SHA1 Message Date
Richard Kenner
ebe9f72764 Added DLB/DSTB peepholes for HFmode.
Corrected mnemonics for HImode DSTB peephole.

From-SVN: r10314
1995-09-11 18:58:21 -04:00
Richard Kenner
d5f2740875 (FLO_union_type): Remove bitfields to set sign...
(FLO_union_type): Remove bitfields to set sign, exponent, and
mantissa, and add value_raw field, which is an integer of the
appropriate type.  If _DEBUG_BITFLOAT is defined, provide little and
big endian bitfields.  If the macro FLOAT_BIT_ORDER_MISMATCH is
defined, use explicit bitfields.
(pack_d, unpack_d): Switch to use value_raw and explicit shifts and
masks so that we don't have to worry about whether the target is big
or little endian unless FLOAT_BIT_ORDER_MISMATCH is defined.  If
single precision floating point, rename to pack_f and unpack_f, so
there is no confusion in the debugger.

From-SVN: r10313
1995-09-11 18:53:34 -04:00
Richard Kenner
446c894728 (FLO_union_type): Remove bitfields to set sign...
(FLO_union_type): Remove bitfields to set sign, exponent, and
mantissa, and add value_raw field, which is an integer of the
appropriate type.  If _DEBUG_BITFLOAT is defined, provide little and
big endian bitfields.
(pack_d, unpack_d): Switch to use value_raw and explicit shifts and
masks so that we don't have to worry about whether the target is big
or little endian.  If single precision floating point, rename to
pack_f and unpack_f, so there is no confusion in the debugger.

From-SVN: r10312
1995-09-11 18:48:01 -04:00
Richard Kenner
692ce0fd55 (redeclaration_error_message): For TYPE_DECLs, return 0 if
TYPE_MAIN_VARIANT of old type is same as new type.

From-SVN: r10311
1995-09-11 18:41:44 -04:00
Jason Merrill
f7d9d4a857 jason@cygnus.com
From-SVN: r10310
1995-09-11 18:33:03 -04:00
Jason Merrill
f83b0cb6cb (tsubst): Handle PROMOTE_PROTOTYPES.
From-SVN: r10309
1995-09-11 18:31:59 -04:00
Richard Kenner
e02791a619 (xcoff_inlining): New variable...
(xcoff_inlining): New variable, used in place of
xcoff_current_include_file when determining whether to use absolute
line numbers.
(xcoffout_source_file): Switched to using xcoff_inlining to determine
when to emit .bi/.ei directives.

From-SVN: r10308
1995-09-11 17:39:30 -04:00
Richard Kenner
31b23f2253 (cmpdi): Change patterns to allocate scratch register at RTL generation time.
(tstdi): Likewise.

From-SVN: r10307
1995-09-11 16:54:24 -04:00
Richard Kenner
023c7f6348 (size_binop): Don't pass 1 to NOTRUNC.
From-SVN: r10306
1995-09-03 09:03:38 -04:00
Richard Kenner
536bfcd040 Include longlong.h.
[L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4):
Define this `static inline' when defining these, so they all remain
leaf functions.

From-SVN: r10305
1995-08-31 19:26:53 -04:00
Richard Kenner
0b19a5b971 (struct rtx_const): Add new field DI to union.
(decode_rtx_const, case CONST_DOUBLE): Use to hash CONST_DOUBLE
representing an integer.

From-SVN: r10304
1995-08-31 19:04:04 -04:00
Richard Kenner
969c851727 (canon_hash, CONST_DOUBLE): Hash integer and real differently.
From-SVN: r10303
1995-08-31 19:03:23 -04:00
Richard Kenner
28a19afce3 (ends_in_label): New %union member.
(stmts, stmt_or_label): Use new member to avoid lexical lookahead hack.
(lineno_stmt_or_labels): New rule.
(lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends in a label.

From-SVN: r10302
1995-08-31 18:38:14 -04:00
Richard Kenner
f4eed9e2c5 Fix patch botch.
From-SVN: r10301
1995-08-31 18:18:47 -04:00
Richard Kenner
653a996d86 (alpha_builtin_saveregs): Properly compute address of __offset both
both OSF and WINNT.

From-SVN: r10300
1995-08-31 18:17:13 -04:00
Richard Kenner
1d820a2a0d (__gnuc_va_list): Make __offset an int.
From-SVN: r10299
1995-08-31 18:16:58 -04:00
Richard Kenner
8bb8d78f06 (malloc, calloc, realloc): Don't define for anybody.
From-SVN: r10298
1995-08-31 17:54:28 -04:00
Richard Kenner
efa00f4e41 (sbrk): Define here for __alpha.
From-SVN: r10297
1995-08-31 17:54:05 -04:00
Richard Kenner
b17338102f (sbrk): Don't define here.
From-SVN: r10296
1995-08-31 17:53:13 -04:00
Richard Kenner
d7e0324f1a (emit_reload_insn): Emit RELOAD_OTHER output reloads last.
From-SVN: r10295
1995-08-31 08:31:20 -04:00
Richard Kenner
74347d76f0 (push_reload): Add case for output reload of a SUBREG of a hard reg when output mode is invalid for that mode.
(push_reload): Add case for output reload of a SUBREG
of a hard reg when output mode is invalid for that mode.
In both that case and existing case for in, don't remove SUBREG.

From-SVN: r10294
1995-08-31 08:30:38 -04:00
Richard Kenner
1604422ce4 (finish_struct): If transparent_union attribute specified, validate it
once we finish laying the union out.

From-SVN: r10293
1995-08-29 19:15:47 -04:00
Richard Kenner
1bcf5b08b0 (decl_attribute, case A_PACKED): Check is_type first.
(decl_attribute, case A_T_UNION): Likewise.
Don't access TYPE_FIELDS if DECL is zero.

From-SVN: r10292
1995-08-29 19:15:19 -04:00
Richard Kenner
c0a2dc1274 (arm_gen_movstrqi): Remove unused variable const_sxteen.
From-SVN: r10291
1995-08-28 06:58:38 -04:00
Richard Kenner
f4bef7f6a6 (buffer, inpoint): Remove unused variables.
From-SVN: r10290
1995-08-28 06:56:14 -04:00
Richard Kenner
abc95ed36d Fix spelling errors.
From-SVN: r10289
1995-08-28 06:54:22 -04:00
Paul Eggert
2d5144e9ae entered into RCS
From-SVN: r10288
1995-08-28 10:15:06 +00:00
Richard Kenner
da7525f204 entered into RCS
From-SVN: r10287
1995-08-28 06:15:04 -04:00
Richard Kenner
1729466fda (mvs_label_emitted): Renamed from mvs_label_emited.
From-SVN: r10286
1995-08-28 06:00:33 -04:00
Richard Kenner
c2b24d414e Fix misspelling of `maintainer-clean'.
From-SVN: r10285
1995-08-28 05:57:59 -04:00
Richard Kenner
a7911cd2b4 (emit_reload_insns): Do nothing for SUBREG whose operand is unused subsequently.
(emit_reload_insns): Do nothing for SUBREG whose operand is unused
subsequently.
In secondary reload case, if paradoxical SUBREG for output, reload thing
inside SUBREG, just like gen_reload.

From-SVN: r10284
1995-08-26 06:56:53 -04:00
Richard Kenner
67340b0310 (push_secondary_reload): If X is a paradoxical SUBREG, get mode and
thing to reload from inside.

From-SVN: r10283
1995-08-26 06:56:12 -04:00
Richard Kenner
e5cfb88fc9 (set_init_label): Don't die if an entire brace-pair level is
superfluous in the containing level.

From-SVN: r10282
1995-08-25 19:26:36 -04:00
Richard Kenner
5502823b56 ({add,sub,mulsi}di3): Support both endian possibilities.
(negdi2): Likewise.

From-SVN: r10281
1995-08-25 19:22:03 -04:00
Richard Kenner
9bb59c1435 (STRICT_ALIGNMENT): If little endian, always set strict alignment to 1.
From-SVN: r10280
1995-08-25 19:21:42 -04:00
Richard Kenner
ad2b9119cb Initial revision
From-SVN: r10279
1995-08-25 19:20:52 -04:00
Richard Kenner
f9f7f4c9f8 Added peephole definitions for Load/Store Base insns and eliminating redundant...
Added peephole definitions for Load/Store Base insns and eliminating
redundant load in an equivalent store/load sequence.

From-SVN: r10278
1995-08-25 19:10:36 -04:00
Per Bothner
fb409a19b2 bothner@cygnus.com
From-SVN: r10277
1995-08-25 19:08:07 -04:00
Per Bothner
c7fdde6d53 (FOR): Call note_level_for_for.
From-SVN: r10276
1995-08-25 19:07:05 -04:00
Per Bothner
f3be9e3c33 (do_identifier): Handle old (non-ANSI) for scoping, and warn if
conflicts.

From-SVN: r10275
1995-08-25 19:06:45 -04:00
Per Bothner
d2ad151f7f (DECL_DEAD_FOR_LOCAL, DECL_ERROR_REPORTED, DECL_SHADOWED_FOR_VAR): New
macros.

From-SVN: r10274
1995-08-25 19:06:24 -04:00
Per Bothner
8d6e462ba2 (struct binding_level): New fields dead_vars_from_for and is_for_scope.
(note_level_for_for):  New function.
(poplevel):  Special processing if is_for_scope.
(pushdecl):  Warn if for-scope variable shadows local.

From-SVN: r10273
1995-08-25 19:05:26 -04:00
Per Bothner
57c0c9cac9 (flag_new_for_scope): Add a new mode that follows ANSI for-scoping, but supports (and warns about) old programs.
(flag_new_for_scope):  Add a new mode that follows ANSI
for-scoping, but supports (and warns about) old programs.
Make the new mode (with value 1) the default.
(lang_f_options):  The on-value for flag_new_for_scope is now 2.

From-SVN: r10272
1995-08-25 19:04:48 -04:00
Richard Kenner
2efc92ed68 (report_error_function): Don't attempt to use input file stack to identify...
(report_error_function): Don't attempt to use input file stack to
identify nesting of #include's if file name oflocation diagnosed is
not same as input_filename.

From-SVN: r10271
1995-08-25 18:33:19 -04:00
Richard Kenner
27ed242c1d (output_inline_function): Switch to function obstack.
From-SVN: r10270
1995-08-25 07:31:37 -04:00
Richard Kenner
63835b8755 (decrement_and_branch_until_zero): Use arithmetic_comparison_operator to decide...
(decrement_and_branch_until_zero): Use arithmetic_comparison_operator
to decide if there is comparison suitable to be expressed by condition
code from an arithmetic op.

From-SVN: r10269
1995-08-21 13:29:41 -04:00
Richard Kenner
d784886d82 (arithmetic_comparison_operator): New function.
(print_operand): Take into account that overflow flag is not set the
same as after a compare instruction.

From-SVN: r10268
1995-08-21 13:29:16 -04:00
Richard Kenner
ba2fcc7feb (adddi3, subdi3): "&" added to clobber's constraints.
From-SVN: r10267
1995-08-21 13:25:59 -04:00
Richard Kenner
6ca8db46d9 (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): Define.
From-SVN: r10266
1995-08-21 13:21:36 -04:00
Richard Kenner
d0aae509b0 (movdi-1...
(movdi-1, movdf-1): Make conditional on reload_completed, delete
conditions checking for pseudo registers and Q addresses.  Add code to
handle SUBREG.

From-SVN: r10265
1995-08-21 13:20:04 -04:00