Michael Meissner
1902f7fd59
Flush stdout/stderr in fatal_init.
...
From-SVN: r11345
1996-02-24 15:02:21 +00:00
Jeff Law
77c872735a
* pa.md (abssi2): Rework to avoid matching constraints.
...
From-SVN: r11344
1996-02-24 00:04:43 -07:00
Jeff Law
0eba3d300d
pa.c (override_options): Warn if both PIC code generation and profiling are requested.
...
* pa.c (override_options): Warn if both PIC code generation and
profiling are requested.
From-SVN: r11343
1996-02-23 09:23:13 -07:00
Richard Kenner
e6e68157d3
(sched_analyze): Record NOTE_INSN_SETJMP if no CALL_INSN as prev;
...
preserve CONST_CALL_P bit.
(reemit_notes): Restore CONST_CALL_P.
From-SVN: r11342
1996-02-23 08:47:27 -05:00
Richard Kenner
b453cb0b75
(reload): For special CONST_CALL_P NOTE_INSN_SETJMP, mark all
...
call-saved regs as used.
From-SVN: r11341
1996-02-23 08:46:45 -05:00
Richard Kenner
0dddb42d90
(expand_builtin...
...
(expand_builtin, case BUILT_IN_SETJMP): Set CONST_CALL_P on
NOTE_INSN_SETJMP instead of emitting USE insns for call-saved regs.
From-SVN: r11340
1996-02-23 08:46:04 -05:00
Doug Evans
6cab873196
* sparc/sparc.md (cpu attr): Add sparc{lite,let} implementations.
...
From-SVN: r11339
1996-02-22 02:49:46 +00:00
Doug Evans
16956f6ef4
sparc.c (sparc_cpu_string): Delete.
...
* sparc/sparc.c (sparc_cpu_string): Delete.
(sparc_select): New global.
(sparc_override_options): Handle -mtune=xxx.
From-SVN: r11338
1996-02-22 02:49:00 +00:00
Doug Evans
6afca97d50
sparc.h (enum processor_type): Declare.
...
* sparc/sparc.h (enum processor_type): Declare.
(sparc_cpu_attr): Define.
(TARGET_OPTIONS): Add -mtune=.
(sparc_select): Declare.
(sparc_cpu_string): Delete.
(FIRST_PSEUDO_REGISTER): Set to 100.
({FIXED,CALL_USED}_REGISTERS): Merge !v9/v9 cases.
(CONDITIONAL_REGISTER_USAGE): Mark %g5 as fixed if !v9.
Mark %g1 as fixed if v9. Fix v9-only regs if !v9.
Mark fp{16..47} as call-saved if v9.
(enum reg_class): Merge !v9/v9 cases.
(REG_CLASS_NAMES,REG_CLASS_CONTENTS,REGNO_REG_CLASS): Likewise.
(REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER,LEAF_REGISTERS): Likewise.
(FP_REG_CLASS_P,SPARC_REGISTER_NAMES): Likewise.
(REG_CLASS_FROM_LETTER): Test TARGET_V9 at runtime.
From-SVN: r11337
1996-02-22 02:47:54 +00:00
Doug Evans
1cfb500fa4
(consttable_end): Delete call to text_section.
...
(align_4): Delete call to readonly_data_section.
From-SVN: r11336
1996-02-22 00:56:13 +00:00
Jason Merrill
943a140b59
(demangle_template): Initialize is_bool.
...
(demangle_template): Initialize is_bool. Correctly
| handle 0 as a pointer value parameter.
From-SVN: r11335
1996-02-21 19:28:20 +00:00
Jason Merrill
2a6cff31d6
(decl_function_context): Do decl_function_context right for
...
| function-local classes.
From-SVN: r11334
1996-02-21 19:12:32 +00:00
Jeff Law
d6d22108ac
c-typeck.c (initializer_constant_valid_p): Don't dereference a null pointer on partial structure initialization.
...
* c-typeck.c (initializer_constant_valid_p): Don't dereference
a null pointer on partial structure initialization.
From-SVN: r11333
1996-02-21 10:44:20 -07:00
David Edelsohn
3297d3fd34
remove verbatim symbol test
...
From-SVN: r11332
1996-02-21 16:46:19 +00:00
David Edelsohn
4ddf648df6
remove verbatim symbol test for section descriptors of externals
...
From-SVN: r11331
1996-02-21 16:43:24 +00:00
Paul Eggert
35b28a7aee
(validate_else): Don't loop given `#endif /'.
...
Handle multiple adjacent backslash-newlines correctly.
Accept a new parameter LIMIT to specify end of input;
this prevents confusion when the input contains '\0' characters.
(collect_expansion): Fix off-by-1 error when searching for `*/'
at end of a comment used for traditional token concatenation.
(macarg1): Fix off-by-1 error when skipping past `*/'
at end of comment.
From-SVN: r11330
1996-02-21 03:55:32 +00:00
Doug Evans
a8526922fc
(twice unrolled GO_IF_HARD_REG_EQUAL): Add missing \.
...
From-SVN: r11329
1996-02-20 21:12:15 +00:00
Mike Stump
cffa872980
82nd Cygnus<->FSF merge
...
From-SVN: r11328
1996-02-20 20:35:10 +00:00
Jeff Law
1144563fbc
pa.h (DBX_CONTIN_LENGTH): Define to 4000 characters.
...
* pa.h (DBX_CONTIN_LENGTH): Define to 4000 characters.
* pa.c (hppa_expand_epilogue): Always emit a blockage insn
before cutting back the stack.
From-SVN: r11327
1996-02-20 12:22:49 -07:00
Doug Evans
97da85b7a0
(sparc_override_options): Error if -mcpu=v9 and v9 support not compiled in.
...
From-SVN: r11326
1996-02-20 05:37:36 +00:00
Doug Evans
3ab295ac9a
(CPP_PREDEFINES): Delete __GCC_NEW_VARARGS__.
...
Add -Acpu(sparc) -Amachine(sparc).
From-SVN: r11325
1996-02-20 05:23:04 +00:00
Doug Evans
1065f0abc1
__sparc_v9__ renamed to __arch64__
...
From-SVN: r11324
1996-02-20 01:01:20 +00:00
Richard Kenner
f6a048b977
(nonlocal_goto): No longer need USE of %o0.
...
(goto_handler_and_restore): Show uses %o0.
From-SVN: r11323
1996-02-19 19:19:52 -05:00
Doug Evans
7c0e725d8a
* sparc/sysv4.h (ASM_SPEC): Add %(asm_cpu).
...
From-SVN: r11322
1996-02-20 00:18:41 +00:00
Doug Evans
0f1f080ec2
sparc.md (cpu attr): Add all cpu variants.
...
* sparc/sparc.md (cpu attr): Add all cpu variants.
(negtf2,negdf2,abstf2,absdf2): Use isa attr, not arch attr in
determining insn lengths.
From-SVN: r11321
1996-02-20 00:17:54 +00:00
Doug Evans
bafb031b01
sparc.h (TARGET_SWITCHES): Add -m{,no-}impure-text.
...
* sparc/sparc.h (TARGET_SWITCHES): Add -m{,no-}impure-text.
(MASK_IMPURE_TEXT, TARGET_IMPURE_TEXT): Define.
(LINK_SPEC): Only add `-assert pure-text' if -mimpure-text wasn't used.
* sparc/sparc.h (TARGET_CPU_sparc{,let,lite,64}): Define.
({CPP,ASM}_DEFAULT_SPEC): Set from TARGET_CPU_foo.
(SPARC_ARCH64 CPP_PREDEFINES): Define __arch64__.
(CPP_SPEC): Add %(cpp_cpu).
(CPP_CPU_SPEC): Define.
(CC1_SPEC): Convert -m<cpu> to -mcpu=<cpu>.
(ASM_SPEC): Add %(asm_cpu).
(ASM_CPU_SPEC): Define.
(EXTRA_SPECS,SUBTARGET_EXTRA_SPECS): Define.
(OVERRIDE_OPTIONS): Call SUBTARGET_OVERRIDE_OPTIONS after
sparc_override_options.
({MASK,TARGET}_SUPERSPARC): Delete.
({MASK,TARGET}_SPARCLET): Define.
(MASK_ISA): Renamed from MASK_CPUS.
({MASK,TARGET}_FRW): Delete.
(TARGET_SWITCHES): Delete no-{v8,sparclite}.
(sparc_cpu,sparc_cpu_string): Declare.
({SUB,}TARGET_OPTIONS): Define.
(FIXED_REGISTERS): Add definitions for sparc64 in 32 bit mode.
(CONDITIONAL_REGISTER_USAGE): Don't set fixed_regs[234] if sparc64.
Don't set call_used_regs[48..80] for sparc64 in 32 bit mode.
Don't clobber fixed_regs[234] if -ffixed- was passed.
(FRAME_POINTER_REQUIRED,INITIAL_FRAME_POINTER_OFFSET,
BASE_{INCOMING_ARG,OUTGOING_VALUE}_REG,INCOMING_REGNO,OUTGOING_REGNO,
FUNCTION_{PROLOGUE,EPILOGUE},DELAY_SLOTS_FOR_EPILOGUE): TARGET_FRW
renamed to TARGET_FLAT.
(ADJUST_COST): Change test for supersparc.
From-SVN: r11320
1996-02-20 00:17:04 +00:00
Doug Evans
f1fe6b073d
Update copyright.
...
From-SVN: r11319
1996-02-20 00:15:02 +00:00
Doug Evans
733f53f5f8
sparc.c (sparc_cpu_string,sparc_cpu): New globals.
...
* sparc/sparc.c (sparc_cpu_string,sparc_cpu): New globals.
(sparc_override_options): Set ISA and CPU from sparc_cpu_string.
Delete tests for v9 switches if not v9.
From-SVN: r11318
1996-02-20 00:14:03 +00:00
Doug Evans
1b11c01278
sp64-elf.h (TARGET_DEFAULT): Add MASK_APP_REGS.
...
* sparc/sp64-elf.h (TARGET_DEFAULT): Add MASK_APP_REGS.
(CPP_PREDEFINES): Define __arch64__.
From-SVN: r11317
1996-02-20 00:12:28 +00:00
Doug Evans
7ae6090b11
sp64-aout.h: #include aoutos.h.
...
* sparc/sp64-aout.h: #include aoutos.h.
(TARGET_DEFAULT): Add MASK_APP_REGS.
(JUMP_TABLES_IN_TEXT_SECTION,READONLY_DATA_SECTION): Delete.
From-SVN: r11316
1996-02-20 00:11:32 +00:00
Doug Evans
cbe16f8a7d
sol2.h (CPP_SPEC): Use %(cpp_cpu).
...
* sparc/sol2.h (CPP_SPEC): Use %(cpp_cpu).
(ASM_SPEC): Likewise.
(ASM_{DEFAULT,CPU}_SPEC): Use Solaris syntax for sparc64.
From-SVN: r11315
1996-02-20 00:10:42 +00:00
Doug Evans
4d790f67ee
lite.h: #include aoutos.h.
...
* sparc/lite.h: #include aoutos.h.
(TARGET_DEFAULT): Use MASK_FOO values.
From-SVN: r11314
1996-02-20 00:08:09 +00:00
Richard Kenner
d4d2b13f31
(force_to_mode, case IOR): Fix typo in commuting IOR and LSHIFTRT.
...
From-SVN: r11313
1996-02-19 19:02:54 -05:00
Doug Evans
10853551ad
* sparc/t-sparcbare (MULTILIB_*): -mv8 renamed to -mcpu=v8.
...
From-SVN: r11312
1996-02-19 23:56:30 +00:00
Doug Evans
d4d8dd7cb3
t-sparclite (MULTILIB_*): Delete msoft-float and mno-flat, they're the defaults.
...
* sparc/t-sparclite (MULTILIB_*): Delete msoft-float and mno-flat,
they're the defaults. Add -mcpu=f934 as synonym for -mfpu.
From-SVN: r11311
1996-02-19 23:55:03 +00:00
David Edelsohn
efc0837850
update movdf and movsf splits for 64-bits
...
From-SVN: r11310
1996-02-19 22:45:01 +00:00
David Edelsohn
042259f23a
remove operand_subword from easy_fp_const
...
support DImode const in TOC
From-SVN: r11309
1996-02-19 22:27:14 +00:00
David Edelsohn
5854b0d020
add AIX assembler doubleword integer syntax
...
From-SVN: r11308
1996-02-19 22:26:19 +00:00
Doug Evans
33fd3209ed
(SWITCH_TAKES_ARG): Restore -R.
...
From-SVN: r11307
1996-02-19 18:37:21 +00:00
Richard Earnshaw
69fcc21d4c
(EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CC_Zmode.
...
(SELECT_CC_MODE): return CC_Zmode if the operand is QImode. Allow LT
and GE comparisons in CC_NOOVmode.
(PREDICATE_CODES): add offsettable_memory_operand and
alignable_memory_operand.
From-SVN: r11306
1996-02-19 17:50:20 +00:00
Richard Earnshaw
0502226c85
(*zeroextract[qs]i_compare0_scratch): Use const_int_operand for operands 1 and 2.
...
(*zeroextract[qs]i_compare0_scratch): Use const_int_operand
for operands 1 and 2.
(split patterns for aligned memory half-word operations): New patterns.
(movhi): Handle memory accesses where the alignment is known in a more
efficient manner.
(*compareqi_eq0): Use CC_Zmode.
From-SVN: r11305
1996-02-19 17:50:20 +00:00
Richard Earnshaw
5165176d89
(offsettable_memory_operand): New function.
...
(alignable_memory_operand): New function.
(gen_rotated_half_load): New function.
(get_arm_condition_code): Extract the mode of the comparison and
use it to generate the correct return value.
From-SVN: r11304
1996-02-19 17:50:20 +00:00
Michael Meissner
d944f453bb
fix typo in nor.
...
From-SVN: r11303
1996-02-19 13:31:24 +00:00
Michael Meissner
ea78578fb9
Unroll hard register loops if <= 4*HOST_BITS_PER_WIDE_INT registers
...
From-SVN: r11302
1996-02-19 13:23:44 +00:00
Richard Kenner
7e27702536
(call_operand): If in REG, only reg 27 valid.
...
From-SVN: r11301
1996-02-19 07:17:19 -05:00
Richard Earnshaw
a5559dbc82
(operand_subword): For 32-bit targets, return
...
the appropriate subword of extended precision CONST_DOUBLEs.
From-SVN: r11300
1996-02-19 11:57:13 +00:00
Jason Merrill
4ae27eb62f
warn_sign_compare
...
From-SVN: r11299
1996-02-19 10:32:37 +00:00
Jason Merrill
d51f93635d
warn_sign_compare
...
From-SVN: r11298
1996-02-19 10:22:57 +00:00
Richard Kenner
d669f5da3c
(yylex...
...
(yylex, case '0'..'9','.'): For cases '0' and '1', check for single
digit constant before resorting to general number processing.
From-SVN: r11297
1996-02-18 21:13:37 -05:00
Richard Kenner
dc086e21e4
(const_umulsi3_highpart): Disable for TARGET_M68060.
...
(ftruncdf2, ftruncsf2, muldf3, mulsidi3): Likewise.
(smulsi3_highpart, umulsi3_highpart, umulsidi3): Likewise.
From-SVN: r11296
1996-02-18 21:06:13 -05:00