Commit Graph

5763 Commits

Author SHA1 Message Date
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
Richard Stallman 7b18c3db9c (reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0.
From-SVN: r5739
1993-10-11 19:55:18 +00:00
Ian Lance Taylor d01b0b7c4e Fix typo
From-SVN: r5738
1993-10-11 19:36:17 +00:00
Ian Lance Taylor 10711bdd05 Fix typo
From-SVN: r5737
1993-10-11 19:20:40 +00:00
Richard Stallman 3fbacacdd6 (cmphi): Turn on constraints to support cmpm.w.
From-SVN: r5736
1993-10-11 19:19:38 +00:00
Richard Kenner 33a20d105c (expand_assignment): When assigning an INDIRECT_REF to a RESULT_DECL,
the size and source rtx were swapped.

From-SVN: r5735
1993-10-11 15:04:26 -04:00
Richard Kenner 2849864429 (trampoline_address): Don't allocate anything from parent function's
current obstack.

From-SVN: r5734
1993-10-11 13:56:01 -04:00
Richard Kenner 01565a557f (reg_scan): Don't call reg_scan_mark_refs on notes if there aren't any.
(reg_scan_mark_refs, case INSN_LIST, EXPR_LIST): New cases.

From-SVN: r5733
1993-10-11 10:10:43 -04:00
Richard Kenner d969caf829 Define SHIFT_COUNT_TRUNCATED to have a value of 1.
From-SVN: r5732
1993-10-11 07:43:24 -04:00
Richard Kenner 85c0a55631 (simplify_binary_operation): Test value of SHIFT_COUNT_TRUNCATED if it
is defined.

From-SVN: r5731
1993-10-11 07:39:02 -04:00
Richard Kenner 5541136b1b (subst, shift and rotate cases): Test value of SHIFT_COUNT_TRUNCATED
if it is defined.

From-SVN: r5730
1993-10-11 07:38:22 -04:00
Richard Stallman 1ebecb64eb (regno_last_note_uid): New vector.
(reg_scan): Initialize regno_last_note_uid.
Call reg_scan_mark_refs for the notes.  Pass its new arg.
(reg_scan_mark_refs): New arg NOTE_FLAG.  Pass it recursively.
Set regno_last_note_uid.

From-SVN: r5729
1993-10-11 07:02:42 +00:00
Richard Stallman 2cb547d84f (regno_last_note_uid): Declared.
From-SVN: r5728
1993-10-11 07:02:30 +00:00
Richard Stallman b803fb99f3 (jump_optimize): Use regno_last_note_uid when deciding
From-SVN: r5727
1993-10-11 07:02:09 +00:00