Commit Graph

41 Commits

Author SHA1 Message Date
Richard Kenner
1eec766a06 (movhi): Corrected case of moving constant to memory.
From-SVN: r13389
1997-01-06 15:44:34 -05:00
Richard Kenner
345dd8a141 Now includes regs.h.
({movcnt,mod}_regno_adjust): Corrected typos.

From-SVN: r13388
1997-01-06 15:44:18 -05:00
Richard Kenner
ea55c5c6ee Remove unneeded casts to char *.
From-SVN: r13292
1996-12-12 07:56:00 -05:00
Richard Kenner
94339136a3 (function_arg, {movcnt,mod}_regno_adjust): Add decls.
(branch_or_jump): Likewise.

From-SVN: r13291
1996-12-12 07:55:45 -05:00
Richard Kenner
3ba95fd3aa (movhi pattern): Fixed MEM to MEM move problem.
From-SVN: r13246
1996-12-07 18:53:35 -05:00
Richard Kenner
4e0c8ad2e7 (USER_LABEL_PREFIX): Define instead of ASM_OUTPUT_LABELREF.
From-SVN: r12750
1996-09-21 06:53:37 -04:00
Jeff Law
2c7ee1a641 calls.c (expand_call): Remove current_call_is_indirect nonsense.
* calls.c (expand_call): Remove current_call_is_indirect nonsense.
	Add additional argument to INIT_CUMULATIVE_ARGS.
	(emit_library_call): Likewise.
	(emit_library_call_value): Likewise.
	* expr.c (expand_builtin): Likewise.
	* function.c (assign_parms): Likewise.
	* cp/method.c (emit_thunk): Likewise.
	* config/pa/pa.h (hppa_args): New field "indirect".
	(INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
	(FUNCTION_ARG): Check "indirect" field, rather than
	"current_call_is_indirect".
	* All other backends updated with new argument to
	INIT_CUMULATIVE_ARGS

From-SVN: r11641
1996-03-29 07:37:11 -07:00
Richard Kenner
541180f92a (xstrdup): Declare instead of instead of strdup.
(ASM_OUTPUT_LABEL): Use xstrdup instead of strdup.
(FIX_FRAME_POINTER_ADDRESS): Don't use DEPTH in string.

From-SVN: r11414
1996-03-04 08:42:03 -05:00
Richard Kenner
42b8bb14ed (strdup): Delete.
(float_label):  xstrdup instead of strdup.

From-SVN: r11413
1996-03-04 08:40:48 -05:00
Richard Kenner
d91f7b5002 (add_1_to_mem): Corrected.
From-SVN: r11239
1996-02-12 18:43:48 -05:00
Richard Kenner
6c0449a57a (movstrqi): Corrected.
(zero_extendqihi2): Taken out, let GCC synthesize.
(movhi-1): Added insn to move HImode small constant to memory.
(movhf-1): Added insn to move HFmode zero to memory.
(movtqf-1): Added insn to move TQFmode zero to memory.
(numerous insns): Taken out B (Base Reg with Index) mode.

From-SVN: r11199
1996-02-10 09:38:30 -05:00
Richard Kenner
ac1cd684c6 (movcnt_regno_adjust): Corrected.
(mov_memory_operand, zero_operand): Added.
(b_mode_operand): Corrected.
(simple_memory_operand, add_1_to_mem): Added.
(print_operand_address): Corrected case of 'Q' output modifier.

From-SVN: r11198
1996-02-10 09:33:01 -05:00
Richard Kenner
27383dfc6c (REG_ALLOC_ORDER): Changed back to natural order.
(CONST_DOUBLE_OK_FOR_LETTER_P): Added letter 'G'.
(EXIT_IGNORE_STACK): Set to 0.
(REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Use corresponding REGNO_OK.
(MOVE_MAX, MOVE_RATIO): Defined.

From-SVN: r11197
1996-02-10 08:38:57 -05:00
Richard Kenner
a4205566f5 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Corrected.
(ASM_OUTPUT_[datatype]): Corrected datalbl[].size computation
for output of arrays.

From-SVN: r10595
1995-11-26 14:14:06 -05:00
Richard Kenner
04ac5b95df (pattern for HImode PSHM): Corrected.
(trunchiqi2, zero_extendqihi2, extendhftqf2): Corrected.
(pattern for movhi of CONST_INT to REG): Corrected.
(divmodqi pattern for DISN): Corrected.
(all shift patterns): Corrected.

From-SVN: r10594
1995-11-26 14:13:47 -05:00
Richard Kenner
8690fedf31 (cmphf): Addd Base Reg with Offset address mode (LB,STB,..)
(cmphf): Addd Base Reg with Offset address mode (LB,STB,..)
(movqi,movhi,movhf,addqi3,addhf3,subqi3,subhf3,mulqihi3): Likewise.
(mulhf3,divhf3,andqi3,iorqi3): Likewise.
(define_peephole): Remove the Base mode peepholes. Replace the
special addqi define_insn for "LIM Ra,sym,Rb" by a define_peephole.
(ashlqi3): Took out futile 0th alternative.
(lshrqi3, lshrhi3, ashrqi3, ahsrhi3): Correct case of non-constant
shift count.

From-SVN: r10575
1995-11-09 11:20:56 -05:00
Richard Kenner
67ca0b229b (REG_ALLOC_ORDER): Define.
(REGNO_OK_FOR_BASE_P): Include stack pointer in test against
reg_renumber[REGNO].
(ASM_OUTPUT_DESTRUCTOR): Remove bogus assembler comment.

From-SVN: r10574
1995-11-09 11:04:44 -05:00
Richard Kenner
3d4e9f8dba (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added R2 and R0_1.
(REG_CLASS_FROM_LETTER): New letters 't' and 'z'.
(EXTRA_CONSTRAINT): New letter 'Q'.

From-SVN: r10372
1995-09-18 14:00:39 -04:00
Richard Kenner
b807655268 (b_mode_operand): New function.
(print_operand): Added code 'Q'.

From-SVN: r10360
1995-09-15 17:29:37 -04:00
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
abc95ed36d Fix spelling errors.
From-SVN: r10289
1995-08-28 06:54:22 -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
Richard Kenner
12c731a540 (ASM_OUTPUT_CONSTRUCTOR): Add FILE arg to assemble_name.
From-SVN: r10195
1995-07-29 09:20:17 -04:00
Richard Kenner
2c545da55a (ucim.m, ucr.m, uc.m): New.
From-SVN: r10193
1995-07-29 09:11:11 -04:00
Richard Kenner
432141479b (cmpqi): Account for unsigned comparisons.
(rotrqi3, rotrhi3): Reworked.

From-SVN: r10192
1995-07-29 09:08:24 -04:00
Richard Kenner
2d1d245fcb (notice_update_cc): INCM and DECM set condition codes.
(unsigned_comparison_operator, next_cc_user_is_unsigned): New fcns.

From-SVN: r10191
1995-07-29 09:05:40 -04:00
Richard Kenner
2a99503aff (FUNCTION_EPILOGUE): Local variables freed from SP, not FP.
(ASM_OUTPUT_BYTE): Make distinct from ASM_OUTPUT_CHAR.

From-SVN: r10190
1995-07-29 07:29:56 -04:00
Richard Kenner
c15c907559 Change FSF address.
From-SVN: r9984
1995-06-15 16:46:00 -04:00
Richard Kenner
38ead7f33e Update FSF address.
From-SVN: r9973
1995-06-15 09:10:54 -04:00
Richard Kenner
ddd5a7c180 Fix typos in comments.
From-SVN: r9711
1995-05-16 08:14:26 -04:00
Richard Kenner
2e48ff67c2 (DEFAULT_PCC_STRUCT_RETURN): Was misspelled.
From-SVN: r9703
1995-05-16 06:59:03 -04:00
Richard Kenner
007cac0f1a Initial revision
From-SVN: r9438
1995-04-25 12:42:00 -04:00
Richard Kenner
3be29ba788 (sectname): Reverse Init and Normal.
(print_operand_address, case PLUS): Add case for LABEL_REF.
(print_operand_address, case LABEL_REF): Split fom SYMBOL_REF.
(print_operand_address, case CODE_LABEL): New case.
(ASM_FILE_END): Delete.

From-SVN: r9155
1995-03-10 05:58:28 -05:00
Richard Kenner
e6e4366158 (FUNCTION_EPILOGUE): Restore stack before freeing local vars.
(DEFAULT_SIGNED_CHAR): Now 1.
(DATA_SECTION_ASM_OP): Use pseudo-op for read-only data (later copied).
(JUMP_TABLES_IN_TEXT_SECTION): Define.
(ASM_OUTPUT_ASCII): Split into multiple lines if long.
(ASM_OUTPUT_{CHAR,SHORT,INT,LONG_INT}): Split up.
(ASM_OUTPUT_COMMON): Call check_section.

From-SVN: r9154
1995-03-10 05:50:02 -05:00
Richard Kenner
8b109b37fc Added arg to RETURN_POPS_ARGS.
From-SVN: r8999
1995-02-21 18:21:14 -05:00
Richard Kenner
97c2a83f6c Remove use of function prototypes.
From-SVN: r8749
1995-01-13 20:17:50 -05:00
Torbjorn Granlund
ee75768801 (subqi3): Delete % from constraints.
From-SVN: r8399
1994-11-07 22:51:21 +00:00
Richard Kenner
0ea3c6ba7d Initial revision
From-SVN: r8110
1994-09-20 19:32:01 -04:00
Richard Kenner
b33f0da510 Replacement file, for as1750.
From-SVN: r8109
1994-09-20 19:31:50 -04:00
Richard Kenner
a4da349f82 Replaced file, for as1750.
From-SVN: r8108
1994-09-20 19:31:03 -04:00
Richard Kenner
630e77b656 Initial revision
From-SVN: r7731
1994-07-11 19:23:51 -04:00