Commit Graph

9049 Commits

Author SHA1 Message Date
Jim Wilson
9e94dc88d3 (relax_delay_slots): When searching for next CODE_LABEL,
use next_real_insn not next_active_insn.

From-SVN: r9075
1995-02-24 18:40:03 -08:00
Jim Wilson
ed73e9f119 (va_end): Expand to a void expression instead of nothing.
From-SVN: r9074
1995-02-24 18:35:35 -08:00
Jim Wilson
ce4b43f74b *** empty log message ***
From-SVN: r9073
1995-02-24 18:34:27 -08:00
Jim Wilson
4d53757da9 (pushdecl): When have a duplicate decl, and it is global,
delete lookup_name name in test for return.
(redeclaration_error_message): When newdecl is a block level
declaration, use lookup_name_current_level instead of DECL_CONTEXT.

From-SVN: r9072
1995-02-24 18:21:37 -08:00
Jim Wilson
9791111f79 (PACKSTRUCT_BIT, TARGET_PACKSTRUCT): Change to PADSTRUCT.
Add comment saying that the option is not useful.
(TARGET_SWITCHES): Change -mpackstruct option to -mpadstruct.
(STRUCTURE_SIZE_BOUNDARY): Change PACKSTRUCT to PADSTRUCT changing
default value from 32 to 8.

From-SVN: r9071
1995-02-24 18:16:06 -08:00
Jim Wilson
dfe8a5acb9 (PUSHSECTION_FORMAT): Add a leading tab.
From-SVN: r9070
1995-02-24 17:51:41 -08:00
Jim Wilson
f9409c3ac3 (expand_expr, case COMPONENT_REF): Don't fetch unaligned
field if we only want its address.

From-SVN: r9069
1995-02-24 17:45:43 -08:00
Jeff Law
2b10af4fab Initial revision
From-SVN: r9068
1995-02-24 17:15:36 -07:00
Jim Wilson
5cca7d1778 (fp_literal_one, fp_literal_zero): Don't accept VOIDmode.
(i960_output_ldconst): In DFmode code, delete code to handle FP_REG_P
target.  In DFmode and SFmode code, delete test for HOST_FLOAT_FORMAT
== TARGET_FLOAT_FORMAT.

From-SVN: r9067
1995-02-24 14:51:04 -08:00
Jim Wilson
819f6d5959 (REAL_ARITHMETIC): Define.
(LEGITIMATE_CONSTANT_P): Pass argument mode not VOIDmode to fp_literal.

From-SVN: r9066
1995-02-24 14:50:34 -08:00
Jim Wilson
0e089454b8 (CC1_SPEC): Don't output implicit -gstabs or -gcoff option
if user gave an explicit one.

From-SVN: r9065
1995-02-24 14:42:30 -08:00
Jim Wilson
b02e2417a2 (CC1_SPEC): Don't output implicit -gstabs or -gcoff option if user gave an explicit one.
(CC1_SPEC): Don't output implicit -gstabs or -gcoff option
if user gave an explicit one.
(CC1_SPEC): Likewise.

From-SVN: r9064
1995-02-24 14:41:49 -08:00
Jim Wilson
f31093e263 (GDB_INV_REF_REGPARM_STABS_LETTER): New macro.
(dbxout_parms): For gdb, output use GDB_INV_REF_REGPARM_STABS_LETTER
for parameters passed by invisible reference in registers.

From-SVN: r9063
1995-02-24 14:33:14 -08:00
Jim Wilson
16bea517d3 Correct typos and formatting problems.
(add_constant, current_function_pretend_args_size,
flag_traditional, table_lab): Delete unnecessary declarations.
(sh_cpu): Change type from attr_cpu to processor_type.
(need_slot, output_shift, lshiftrt_insns, howshift,
pop_operand): Delete.
(print_operand, output_branch): Delete calls to need_slot.
(synth_constant): Comment that it doesn't work.
(output_movedouble): Handle PRE_DEC dest not POST_INC dest.
(output_options): Don't use flag_traditional.
(shift_insns): Correct numbers to optimal sequences.
(shift_amounts): New table.
(shift_insns_rtx): New function.
(shiftinsns): Combine LSHIFTRT and ASHIFT cases.
(shiftcosts): Return true costs of shifts instead of estimate of 1.
(gen_ashift): Handle negative shift amounts.  Call gen_lshrsi3_m
for single bit LSHIFTRT, and gen_lshrisi3_k for multiple bit shifts.
(gen_shifty_op): Handle negative shift amounts at top.  Generate
optimal sequences for ASHIFT and LSHIFTRT.
(find_barrier): Correct pattern for matching mova instructions.
(general_movsrc_operand): Delete redundant test for (MEM LABEL_REF).
Don't reject POST_INC address for size > 4.
(general_movdst_operand): Don't reject PRE_DEC address for size > 4.

From-SVN: r9062
1995-02-24 14:19:23 -08:00
Jim Wilson
994295f28a Correct typos and formatting problems.
(MODE_DISP_OK_[12]): Delete.
(GO_IF_LEGITIMATE_INDEX): Delete uses of MODE_DISP_OK_[12].
(RTX_COSTS): Add LSHIFTRT.
(table_lab): Delete declaration.
(enum processor_type): New enum.
(sh_cpu_attr): New macro.
(sh_cpu): Change type to enum processor_type to avoid incomplete
enum type.

From-SVN: r9061
1995-02-24 14:18:29 -08:00
Jim Wilson
07a45e5ce1 Correct typos and formatting problems.
(cpu): Use sh_cpu_attr not sh_cpu.
(adddi3, subdi3, udivsi3-1, divsi3-1, mulsi3_call-1, ashrsi2_16,
ashrsi2_31, dect, casesi_worker): Use arith_reg_operand not
register_operand.
(ashlsi3_n, lshrsi3_n): Enable pattern.  Set length correctly.
Use '#' to output it.
(ashlsi3_n+1, lshrsi3_n+1): New patterns to split shifts.
(ashlsi3, lshrsi3): Use shiftby_operand instead of gen_shifty_op.
(lshlsi3_m): New pattern for single bit shifts.
(lshlsi3_k): Only handle multiple bit shifts.
(negc): Use IOR not PLUS to set carry bit.
(push+2, pop+2, movsi_pi, movdi-2, movdf_k-1, movsf_i-1): Delete.
(movsi_i, movqi_i, movhi_i): Delete redundant < and > constraints.
(movsf_i): Delete incorrect < and > constraints.

From-SVN: r9060
1995-02-24 14:17:21 -08:00
Jim Wilson
b1e9510ec9 (mips_secondary_reload_class): Also handle SUBREGs.
From-SVN: r9059
1995-02-24 13:17:51 -08:00
Jim Wilson
0e1cdc75b1 (madsi): Don't use '+' constraint in a clobber.
(madsi_highpart, umadsi_highpart): Delete.

From-SVN: r9058
1995-02-24 13:17:17 -08:00
Jim Wilson
dc2fba6003 (dbxout_parms): For parameters passed in memory...
(dbxout_parms): For parameters passed in memory, delete
obsolete code to handle parameters converted and stored back to
the stack slot where they were passed in.
(dbxout_reg_parms): Delete obsolete ifdefed out code.  Combine
redundant PARM_PASSED_IN_MEMORY tests.  For case where parameter
lives in memory, output stab if it doesn't live where it was passed.

From-SVN: r9057
1995-02-24 12:55:10 -08:00
Mike Stump
d0a71ec5ce undo dje's indaverent undo of my work. (remove -Wenum-clash)
From-SVN: r9056
1995-02-24 19:53:35 +00:00
Michael Meissner
58733f9609 Define long double versions of sin/cos
From-SVN: r9055
1995-02-24 18:07:00 +00:00
Mike Stump
f33985c6ed rs6000.h (RETURN_ADDR_RTX): Add definition to support __builtin_return_address and __builtin_frame_address...
* rs6000.h/rs6000.h (RETURN_ADDR_RTX): Add definition to support
        __builtin_return_address and __builtin_frame_address on the
        rs6000.  This is necessary to support exception handling in g++ on
        the rs6000.
Fixes eh6.C on rs6000.

From-SVN: r9054
1995-02-23 22:23:33 +00:00
Michael Meissner
d14a6d05b2 Support -msoft-float; support eabi -mrelocatable
From-SVN: r9053
1995-02-23 20:30:26 +00:00
Richard Kenner
919e340a21 (ld): Add missing backslash to make continuation line.
From-SVN: r9052
1995-02-23 08:49:06 -05:00
Richard Kenner
3578445a3a (gen_stdcall_suffix): Deleted.
From-SVN: r9051
1995-02-23 07:56:39 -05:00
Richard Kenner
bb52566d02 (MODIFY_ASSEMBLER_NAME, VALID_MACHINE_DECL_ATTRIBUTES): Deleted.
From-SVN: r9050
1995-02-23 07:55:03 -05:00
Richard Kenner
d08e39677b (make_decl_rtl): Remove reference to MODIFY_ASSEMBLER_NAME.
From-SVN: r9049
1995-02-23 07:52:35 -05:00
Richard Kenner
f8a89236c4 Formatting changes.
From-SVN: r9048
1995-02-23 07:06:03 -05:00
Richard Kenner
3bda6d11ef (RTX_COSTS): Update costs for FP operations.
From-SVN: r9047
1995-02-23 06:58:36 -05:00
Richard Kenner
5d6155d480 Fix formatting.
From-SVN: r9046
1995-02-23 06:50:00 -05:00
Jason Merrill
d2d7ed3e17 Fix signed/unsigned comparison warning.
From-SVN: r9045
1995-02-23 08:14:12 +00:00
Richard Kenner
71df911299 (DBX_OUTPUT_MAIN_SOURCE_FILE_END): New macro.
From-SVN: r9044
1995-02-22 21:32:41 -05:00
Richard Kenner
96317659b6 Removed __NetBSD__ from conditional.
Declare strerror if HAVE_STRERROR is defined; otherwise declare sys_errlist
and sys_nerr.

From-SVN: r9043
1995-02-22 20:28:17 -05:00
Richard Kenner
2d2daf45b6 Removed __NetBSD__ from conditional.
From-SVN: r9042
1995-02-22 20:26:51 -05:00
Jason Merrill
28aaf32b33 Update SunOS 4 code
From-SVN: r9041
1995-02-23 01:23:53 +00:00
Richard Kenner
49be3a59ff Recognize NetBSD/Amiga as m68k-cbm-netbsd.
From-SVN: r9039
1995-02-22 19:08:39 -05:00
Richard Kenner
bc314d533b (libgcc1.a): Run ranlib.
From-SVN: r9038
1995-02-22 19:06:57 -05:00
Richard Kenner
e475ed2aec (memory_address): Add missing "else".
From-SVN: r9037
1995-02-22 18:46:44 -05:00
Richard Kenner
5bdc151289 (enum sharp_token_type): New type.
(stringify, raw_before, raw_after): Use this type instead of char.
(collect_expansion, dump_single_macro): Keep track of white space
after # and around ## tokens, since the C Standard requires a
diagnostic if the white space doesn't match during a redefinition.
(sharp_token, sharp_sharp_token): Labels renamed from hash_token and
hash_hash_token for naming consistency.

From-SVN: r9036
1995-02-22 18:26:54 -05:00
Richard Kenner
34dd383844 (SWITCH_TAKES_ARG): Add `x'.
(process_command): -Wl, -Xlinker, and -lm values always go to linker
even if -x was specified.

From-SVN: r9035
1995-02-22 17:37:01 -05:00
Jason Merrill
56c98e5b32 Support CLEANUP_POINT_EXPRs.
From-SVN: r9034
1995-02-22 17:35:09 +00:00
Richard Kenner
a092957f96 (print_operand, case 'H', 'S'): Delete unused.
From-SVN: r9033
1995-02-22 08:53:51 -05:00
Richard Kenner
242e8072bb (ffssi2): Use gpc_reg_operand predicate.
(Some maskir patterns): Likewise.
(ffsdi2): Likewise.

From-SVN: r9032
1995-02-22 08:49:41 -05:00
Richard Kenner
94d7001a79 (movsfcc, movdfcc): New standard patterns.
(fselsfsf4, fseldfsf4, fseldfdf4, fselsfdf4): Name and create variants of
existing anonymous patterns for movsfcc and movdfcc.

From-SVN: r9031
1995-02-22 08:40:06 -05:00
Richard Kenner
cb64953075 (output_asm_name): New function, using code taken from output_asm_insn.
(output_asm_insn): If flag_print_asm_name, print the comment after the
first assembler instruction even in multi-instruction templates.

From-SVN: r9030
1995-02-22 08:12:44 -05:00
Richard Kenner
57e1b65caa (output_move_double): Let split_double extract any constant in op 1;
take size from op 0.

From-SVN: r9029
1995-02-22 07:53:15 -05:00
Richard Kenner
5a1a6efdc8 (split_double): Handle CONST_INT that holds both words.
From-SVN: r9028
1995-02-22 07:52:50 -05:00
Richard Kenner
8c35bbc594 (REAL_WORDS_BIG_ENDIAN): New macro.
(REAL_WORDS_BIG_ENDIAN): New macro.  Define as either
FLOAT_WORDS_BIG_ENDIAN or HOST_FLOAT_WORDS_BIG_ENDIAN.  Use it instead
of FLOAT_WORDS_BIG_ENDIAN.
(m16m, edivm, emulm): Change `short' to `EMUSHORT', and `long' to `EMULONG'.
Clean up comments.

From-SVN: r9027
1995-02-22 07:05:12 -05:00
Jeff Law
0ed5f250a1 pa.h (ASM_DECLARE_FUNCTION_NAME): Handle invisible reference arguments passed in registers.
* pa.h (ASM_DECLARE_FUNCTION_NAME): Handle invisible reference
	arguments passed in registers.

From-SVN: r9026
1995-02-21 22:54:11 -07:00
Richard Kenner
278479ede5 (default_compilers): Remove rule for ".ada".
Pass .ads or .adb suffix to -dumpbase, depending on input filename.

From-SVN: r9025
1995-02-21 19:25:17 -05:00