summaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
Commit message (Collapse)AuthorAgeFilesLines
* (simplify_cond): Make TESTS an array of rtunions.kenner1996-11-151-17/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13170 138bc75d-0d04-0410-961f-82ee72b054a4
* * sparc/sparc.c (label_ref_operand): New function.dje1996-08-151-1/+2
| | | | | | | | | | (emit_move_sequence): Pass label_ref to gen_move_label_di to not lose flags. * sparc/sparc.md (move_label_di): Operand one is label_ref now. * genattrtab.c (write_test_expr): Allow label_ref in match_dup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12643 138bc75d-0d04-0410-961f-82ee72b054a4
* formatting tweaksmrs1996-07-031-27/+27
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12390 138bc75d-0d04-0410-961f-82ee72b054a4
* (fatal): Declare A1 and A2 as char *.kenner1996-06-181-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12297 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kenner1995-06-151-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9961 138bc75d-0d04-0410-961f-82ee72b054a4
* (write_test_expr, case MATCH_DUP): Use operands[N] instead ofkenner1995-05-121-1/+5
| | | | | | | | JUMP_LABEL (which may not be set). (walk_attr_value, case MATCH_DUP): Set must_extract. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9640 138bc75d-0d04-0410-961f-82ee72b054a4
* (check_attr_value): Change error message text.kenner1995-01-251-4/+4
| | | | | | | (simplify_test_exp): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8806 138bc75d-0d04-0410-961f-82ee72b054a4
* Skip optimize_attrs if num_insn_ents is zeroian1994-10-131-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8265 138bc75d-0d04-0410-961f-82ee72b054a4
* Allocate attr_value_list with xmalloc rather than allocaian1994-10-121-2/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8261 138bc75d-0d04-0410-961f-82ee72b054a4
* Cast pointer operands to bzero, bcopy, and bcmp to (char *).kenner1994-06-141-5/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7472 138bc75d-0d04-0410-961f-82ee72b054a4
* No longer handle LSHIFT.kenner1994-04-101-2/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7020 138bc75d-0d04-0410-961f-82ee72b054a4
* Include <stdarg.h> instead of "gstdarg.h"; similarly for varargs.kenner1994-03-301-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6922 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_units): Remove decl of unused variable.kenner1994-03-251-2/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6884 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't declare last parameter of stdarg function to be register.ian1994-03-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6802 138bc75d-0d04-0410-961f-82ee72b054a4
* Use PVPROTO for varargs prototypes.kenner1994-03-111-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6744 138bc75d-0d04-0410-961f-82ee72b054a4
* (attr_printf): Remove `register' from decl of FMT.kenner1994-03-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6700 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_units): Fix blockage calculation.wilson1994-02-161-7/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6575 138bc75d-0d04-0410-961f-82ee72b054a4
* If __STDC__, include gstdarg and use ANSI form of varargs.kenner1994-02-101-14/+26
| | | | | | | (attr_printf): Only declare when defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6515 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_units): When calculate BLOCKAGE, reversewilson1994-01-311-4/+8
| | | | | | | | | terms to POS_MINUS_OP. Clarify comment before BLOCKAGE computation. (write_complex_function): Use EXECUTING_INSN for first switch, and CANDIDATE_INSN for second switch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6442 138bc75d-0d04-0410-961f-82ee72b054a4
* * genattrtab.c (hard_frame_pointer_rtx): New Dummy definition.dje1993-09-241-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5457 138bc75d-0d04-0410-961f-82ee72b054a4
* Include gvarargs.h after hconfig.h, like elsewhere.kenner1993-08-041-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5067 138bc75d-0d04-0410-961f-82ee72b054a4
* (substitute_address): In prototype, don't specifyrms1993-08-021-1/+2
| | | | | | | the arg types of the arg functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5054 138bc75d-0d04-0410-961f-82ee72b054a4
* (clear_struct_flag): Add void return type defn.kenner1993-04-131-13/+4
| | | | | | | | | (count_subs_rtx): Add int return type and add definition. (simplify_test_exp): Delete debugging junk. (do_nothing): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4128 138bc75d-0d04-0410-961f-82ee72b054a4
* * genattrtab.c (write_eligible_delay): Add new variablelaw1993-03-281-1/+18
| | | | | | | | | | | "flags" to the generated functions. All callers changed. (check_attr_test): Handle ATTR_FLAG. (clear_struct_flag): Likewise. (count_sub_rtxs): Likewise. (write_test_expr): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3903 138bc75d-0d04-0410-961f-82ee72b054a4
* (write_test_expr): Use INSN_CODE == -2, not 0, for constantkenner1993-03-061-1/+1
| | | | | | | attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3671 138bc75d-0d04-0410-961f-82ee72b054a4
* Add prototypes in forward declarations.kenner1993-03-061-138/+150
| | | | | | | Add some missing parameters to a few calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3669 138bc75d-0d04-0410-961f-82ee72b054a4
* (write_const_num_delay_slots): Output 'rtx insn' notwilson1993-03-021-1/+1
| | | | | | | 'rtx *insn' for const_num_delay_slot argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3613 138bc75d-0d04-0410-961f-82ee72b054a4
* (obstack.h): Include after sys/time.h.rms1992-11-261-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2804 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Unlimit stack size.kenner1992-11-101-0/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2737 138bc75d-0d04-0410-961f-82ee72b054a4
* Include hconfig.h, not config.h.rms1992-10-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2419 138bc75d-0d04-0410-961f-82ee72b054a4
* (length_used): New variable.kenner1992-09-241-7/+18
| | | | | | | | (walk_attr_value): Set it when we have (eq_attr "length" ...). (write_const_num_delay_slots): Value is 1 unless LENGTH_USED is set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2229 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***moore1992-09-131-0/+35
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2112 138bc75d-0d04-0410-961f-82ee72b054a4
* (RTL_HASH, attr_rtx): Avoid warnings by casting pointers tokenner1992-08-301-5/+5
| | | | | | | HOST_WIDE_INT instead of int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1996 138bc75d-0d04-0410-961f-82ee72b054a4
* Allocate enough space for attr_printf; Use obstack_alloc instead of xmalloc.meissner1992-08-271-25/+35
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1974 138bc75d-0d04-0410-961f-82ee72b054a4
* (struct attr_desc): Add unsigned_p field.wood1992-08-251-146/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (struct function_unit_op): Add issue_delay, conflict_exp, and issue_exp fields. Drop busyexp field. (struct function_unit): Add needs_blockage_function, needs_range_function, issue_delay, and max_blockage fields. Drop costexp, and busy delay fields. (enum operator): Add POS_MINUS_OP, EQ_OP, MIN_OP, RANGE_OP. (operate_exp): Implement new ops. (make_internal_attr): Set unsigned_p based on the value of SPECIAL. (write_attr_get): Function is unsigned when unsigned_p is true. (write_attr_valueq): Write hex value of large constants in a comment. (simplify_by_exploding): Check for EXP having no EQ_ATTR expressions and for all values as the default. (find_and_mark_used_attributes): Add TERMS and NTERMS parameters. (max_attr_value): Allow IF_THEN_ELSE. (simplify_knowing, write_complex_function, extend_range): New functions. (gen_unit): Use local variables to name the fields. Change the meaning of busy-delay to issue-delay. (expand_units): Compute issue_exp. Write attributes for computing `<name>_unit_blockage' and `<name>_unit_blockage_range' functions. Compute max_blockage, and the needs_*_function values. (write_function_unit_info): Write blockage function and conflict cost functions using write_complex_function. Write new function_unit_desc fields. (expand_units): Use the normalized values of the unit's CONDEXP and BUSYEXP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1952 138bc75d-0d04-0410-961f-82ee72b054a4
* Put include of stdio.h after GCC header files (for i860-stardent-sysv4).kenner1992-08-201-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1905 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing return; delete unused vars & static functions.meissner1992-08-171-5/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1874 138bc75d-0d04-0410-961f-82ee72b054a4
* (simplify_by_exploding, find_and_mark_used_attributes,wood1992-08-141-69/+737
| | | | | | | | | | | | | | | | | | | | | | | | | | | unmark_used_attributes, add_values_to_cover, increment_current_value, test_for_current_value, simplify_with_current_value, simplify_with_current_value_aux): New functions. (struct function_unit): Add max_busy_cost, {min,max}_busy_delay. (expand_units): Use simplify_by_exploding to simplify the function_units_used attribute. Compute the ready cost attributes as a COND in numeric order. (gen_unit): Compute {min,max}_ready_cost and {min,max}_busy_delay. (write_function_unit_info): Determine if there is only one busy delay value by comparing the minimum and maximum busy delay. Write the initializer for function_units in numeric order. Write out the maximum busy delay field. (attr_desc): Add negative_ok field. (find_attr, make_internal_attr): Initialize negative_ok. (check_attr_value): Allow negative values for CONST_STRING for numeric attributes with negative_ok. (encode_units_mask): Change the encoding of the function_units_used result. {.... git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1848 138bc75d-0d04-0410-961f-82ee72b054a4
* entered into RCSrms1992-07-061-8/+31
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1470 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-06-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1263 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-201-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1026 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-071-5/+32
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@933 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-071-8/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@930 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-061-56/+232
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@925 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-061-39/+133
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@911 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-051-113/+279
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@910 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@897 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-051-314/+180
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@895 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-051-183/+319
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@894 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-041-144/+306
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@888 138bc75d-0d04-0410-961f-82ee72b054a4