Commit Graph

5976 Commits

Author SHA1 Message Date
Richard Kenner
f12f485a96 (do_jump_for_compare): Don't blow up if aren't any insns in this
sequence yet.

From-SVN: r5789
1993-10-14 00:34:07 -04:00
Richard Kenner
658231787c (LINK_SPEC): Now OK to pass -O3 to linker.
(ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Work around bug in DEC
assembler.

From-SVN: r5788
1993-10-14 00:05:32 -04:00
Richard Kenner
71d2371f87 Fix typo: had "xubfic" instead of "subfic".
From-SVN: r5787
1993-10-13 21:51:33 -04:00
Richard Kenner
f90ac35b89 Remove erroneous parens from Alpha OSF/1 <sym.h>.
From-SVN: r5786
1993-10-13 21:47:52 -04:00
Richard Kenner
550549f2a8 (_VA_LIST_): Define.
From-SVN: r5785
1993-10-13 18:24:50 -04:00
Richard Kenner
40828e35cf (ignore_line_number): No longer used.
From-SVN: r5784
1993-10-13 18:01:36 -04:00
Richard Kenner
46ab92057f (print_global_hdr): Fix typo in cast in ctime call.
From-SVN: r5783
1993-10-13 17:57:52 -04:00
Richard Kenner
0e57600536 (main): Don't catch SIGPIPE if no such signal.
From-SVN: r5782
1993-10-13 17:55:46 -04:00
Richard Stallman
65715deac9 (output_line_command): Output the `4' flag only if cplusplus.
(do_line): Handle the `4' flag.

From-SVN: r5781
1993-10-13 21:52:31 +00:00
Richard Stallman
b57a5cd39d (CPP_PREDEFINES): Don't define _CROSS_TARGET_ARCH.
From-SVN: r5780
1993-10-13 21:25:26 +00:00
Richard Stallman
aa2e6789a8 (initdcl, notype_initdcl): Call decl_attributes
before init as well as after.

From-SVN: r5779
1993-10-13 20:40:41 +00:00
Richard Stallman
f825b10f84 (install-collect2): Depend on install-dir.
(install-info, install-float-h-cross): Likewise.

From-SVN: r5778
1993-10-13 20:10:01 +00:00
Richard Stallman
038d9bc039 (FRAME_POINTER_REQUIRED): Require a frame pointer if fn calls setjmp.
From-SVN: r5777
1993-10-13 19:59:57 +00:00
Richard Kenner
b51ab0989f (FLOAT_WORDS_BIG_ENDIAN...
(FLOAT_WORDS_BIG_ENDIAN, HOST_FLOAT_WORDS_BIG_ENDIAN): Use everywhere
in place of WORDS_BIG_ENDIAN, HOST_WORDS_BIG_ENDIAN, except in
reference to endian-ness of integers.
(etrunci, etruncui, efixi, efixui, ereal_from_int, ereal_to_int, ltoe,
ultoe, eifrac, euifrac): Change `long' to `HOST_WIDE_INT'.

From-SVN: r5776
1993-10-13 15:50:49 -04:00
Richard Kenner
91d6120782 (FLOAT_WORDS_BIG_ENDIAN): New macro.
(HOST_FLOAT_WORDS_BIG_ENDIAN): Likewise, for host.
(REAL_VALUE_TO_TARGET_DOUBLE (default version)): Use them.
(efixi, efixui): Return HOST_WIDE_INT.
(REAL_VALUE_FROM_INT): Cast inputs to HOST_WIDE_INT.

From-SVN: r5775
1993-10-13 15:49:13 -04:00
Jim Wilson
1f109a14e9 (jump_optimize): When moving a range of instructions,
include all NOTEs before the range, not just line number notes.

From-SVN: r5774
1993-10-13 12:26:39 -07:00
Richard Kenner
9f5e873c8f (optimize_bit_field_compare, decode_field_reference): Don't do
anything if get_inner_reference returned its argument.

From-SVN: r5773
1993-10-13 15:14:21 -04:00
Per Bothner
49d3ca5c88 include <sys/types.h> before <sys/stat.h>.
From-SVN: r5772
1993-10-13 11:02:41 -07:00
Richard Kenner
d5cbc4a344 Avoid defining NULL; can cause duplicate definition errors.
From-SVN: r5771
1993-10-13 11:57:23 -04:00
Michael Meissner
cd93179bd4 Define ASM_OUTPUT_ADDR_DIFF_ELT; save some cycles in profiling.
From-SVN: r5770
1993-10-13 14:57:48 +00:00
Richard Stallman
eb5ad42ab3 (record_jump_cond): At end, make missing equivalences
first, and then merge them.

From-SVN: r5769
1993-10-13 04:03:24 +00:00
Doug Evans
c9646177c9 Fix typo.
From-SVN: r5768
1993-10-13 01:30:08 +00:00
Richard Stallman
dfa3449bd4 Include stdio.h after gvarargs.h.
From-SVN: r5767
1993-10-13 00:20:47 +00:00
Richard Stallman
2ed5f8c28a Include stdio.h last.
From-SVN: r5766
1993-10-13 00:20:31 +00:00
Per Bothner
ba7ff9f9fe Re-write to be a subroutines of patch-header.
From-SVN: r5765
1993-10-12 16:01:18 -07:00
Per Bothner
63675378d9 scan-decls is no longer a function. Other fixes. See ChangeLog.
From-SVN: r5764
1993-10-12 15:58:40 -07:00
Per Bothner
05227b51ac Re-write , to use scan_decls as a sub-routine.
From-SVN: r5763
1993-10-12 15:58:40 -07:00
Per Bothner
d79438193b Re-write. New logic, assuming implicit extern "C" from cpp.
From-SVN: r5762
1993-10-12 15:58:40 -07:00
Per Bothner
d7c824c39e Don't check for sigset_t.
From-SVN: r5761
1993-10-12 15:58:40 -07:00
Richard Kenner
03f8c4cc9c (TARGET_SWITCHES): Add gas option.
(ASM_DECLARE_FUNCTION_NAME): Moved output of .ent directive to output_prolog.
(DBX_NO_XREFS): Removed, gdb understands cross references and the native
debugger can't handle embedded stabs.
(ASM_FILE_START): Replace output of .file directive by
ASM_OUTPUT_SOURCE_FILENAME call.
(TARGET_GAS, MASK_GAS, SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO,
MIPS_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE, DEBUGGER_AUTO_OFFSET,
DEBUGGER_ARG_OFFSET, ASM_OUTPUT_SOURCE_LINE,
ASM_OUTPUT_SOURCE_FILENAME, DEFAULT_GDB_EXTENSIONS, ASM_STABS_OP,
ASM_STABN_OP, ASM_STABD_OP, SDB_ALLOW_FORWARD_REFERENCES,
SDB_ALLOW_UNKNOWN_REFERENCES, PUT_SDB_DEF, PUT_SDB_PLAIN_DEF,
PUT_SDB_TYPE, PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END,
PUT_SDB_FUNCTION_START, PUT_SDB_FUNCTION_END, PUT_SDB_EPILOGUE_END,
ASM_FINAL_SPEC, CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE): New macros.

From-SVN: r5760
1993-10-12 18:36:25 -04:00
Richard Kenner
48f6bfac39 (output_prolog): Put out file and line number if sdb debugging format...
(output_prolog): Put out file and line number if sdb debugging format, put out
.ent directive, signal start of function for alpha_output_filename and set updebugging auto/arg offsets.
(output_epilog): Signal end of function for alpha_output_filename.
(alpha_output_filename, alpha_output_lineno): New functions.

From-SVN: r5759
1993-10-12 18:35:07 -04:00
Richard Kenner
691e5fb404 (add_local_symbol): Index in the external symbol must point to local
symbol table entry for procedures.

From-SVN: r5758
1993-10-12 18:34:13 -04:00
Richard Kenner
7a92339b20 (SETUP_INCOMING_VARARGS): If not TARGET_FPREGS...
(SETUP_INCOMING_VARARGS): If not TARGET_FPREGS, save another copy of
the integer regs where the FP regs would have gone.

From-SVN: r5757
1993-10-12 17:24:55 -04:00
Richard Kenner
6fb2e34673 (KNOWN_TYPE_TAG, SET_KNOWN_TYPE_TAG): Refer to TYPE_SYMTAB_POINTER and remove casts.
(KNOWN_TYPE_TAG, SET_KNOWN_TYPE_TAG): Refer to TYPE_SYMTAB_POINTER and remove
casts.
(tag_of_ru_type): Likewise.

From-SVN: r5756
1993-10-12 17:06:37 -04:00
Richard Kenner
a0665b7772 (struct tree_type): symtab_address is now a union of pointer and
integer.

From-SVN: r5755
1993-10-12 17:05:54 -04:00
Richard Kenner
af04ba4a01 (reload): Fix typo in RELOAD_FOR_INSN case when accounting for
reloads.

From-SVN: r5754
1993-10-12 16:49:35 -04:00
Richard Stallman
40f1c86cca If a file is referenced with double quotes from
a fixed file, make sure it is copied into the fixed include directory.

Remove DPS/XDPSlib.h special-case code.

From-SVN: r5753
1993-10-12 19:51:26 +00:00
Richard Kenner
64791b18b8 (convert_modes): Reset OLDMODE from X after we strip a SUBREG due to a
promoted variable.

From-SVN: r5752
1993-10-12 15:41:52 -04:00
Richard Kenner
5813306726 (dbxout_type, case INTEGER_TYPE): Output bounds in octal if type wider than HOST_WIDE_INT.
(dbxout_type, case INTEGER_TYPE): Output bounds in octal if type wider
than HOST_WIDE_INT.
(print_int_cst_octal): Trim bound by precision of its type.
Avoid warning on what may be shift into sign bit.

From-SVN: r5751
1993-10-12 15:37:18 -04:00
Richard Kenner
406b20508f Add missing #include for hconfig.h.
From-SVN: r5750
1993-10-12 14:22:47 -04:00
Richard Kenner
dca8246585 Quote braces on `find' looking for DONE files.
From-SVN: r5749
1993-10-12 14:02:38 -04:00
Richard Kenner
ca7f5001c8 Update define_function_units.
Put both old and new mnemonics in all templates.
Add target tests to pattern conditional field throughout.
(one_cmplsi2): Make POWER and PowerPC variants.
(mulsi3): Convert to define_expand which calls appropriate POWER or PowerPC
pattern.
(divsi3, udivsi3): Add patterns for PowerPC case.  Update divsi3 define_expand
for PowerPC case.
(ashlsi3, lshrsi3, ashrsi3, extendqisi2, extendqihi2): Convert to
define_expand which calls appropriate POWER or PowerPC pattern.
(floating-point): Add PowerPC single-precision FP, and SF/DF sqrt insns for
603, 604, 620.
(call insns): Use "nop" for magic TOC restore.
(move data, nop): Use PowerPC extended mnemonics.

From-SVN: r5748
1993-10-12 08:05:10 -04:00
Richard Kenner
85638c0d68 (rs6000_override_options): Use new TARGET flags and add some more cpu choices.
(output_prolog, output_epilog): Support new mnemonics and avoid using
lm/stm when not POWER.

From-SVN: r5747
1993-10-12 08:03:47 -04:00
Richard Kenner
6febd5819d (MASK and TARGET): Add new flags for POWER2 and PowerPC with square root.
(ASSEMBLER_DIALECT): New macro.
(CONDITIONAL_REGISTER_USAGE): Set MQ register fixed if not POWER.
(SHIFT_COUNT_TRUNCATED): Conditional on POWER.
(ASM_OUTPUT_REG_{PUSH,POP}): Mnemonics dependencies.

From-SVN: r5746
1993-10-12 08:03:05 -04:00
Richard Kenner
5e2e293640 Initial revision
From-SVN: r5745
1993-10-12 08:02:10 -04:00
Richard Kenner
d5c724c4e7 (dialect_number): New variable.
(init_final): Initialize it.
(output_asm_insn, asm_fprintf): Support ASSEMBLER_DIALECT.

From-SVN: r5744
1993-10-12 07:58:29 -04:00
Richard Stallman
bfe3c3615a (final_scan_insn): Call walk_alter_subreg for operands that are PLUS
or MULT, before constrain_operands.

From-SVN: r5743
1993-10-12 11:56:41 +00:00
Richard Stallman
775ba35df7 (debug_real): New function.
From-SVN: r5742
1993-10-11 22:30:48 +00:00
Richard Stallman
8dc0b179fd (unroll_loop): Set map->const_equiv_map_size to new_maxregnum.
(copy_loop_body): When set const_age_map entry for split dest reg,
verify that it is within the bounds of the map.
(find_splittable_regs): Count number of biv sets, not number of
bivs.  Don't pass result to find_splittable_givs.
(find_splittable_givs): Delete parameter result.  Add local variable result.

From-SVN: r5741
1993-10-11 21:02:37 +00:00
Richard Stallman
242cef1e25 Whitespace changes.
From-SVN: r5740
1993-10-11 20:14:39 +00:00