Commit Graph

228 Commits

Author SHA1 Message Date
Tom Wood
bee757e1c0 (struct attr_desc): Add unsigned_p field.
(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.

From-SVN: r1952
1992-08-25 20:26:02 +00:00
Richard Kenner
f8d97cf472 Put include of stdio.h after GCC header files (for i860-stardent-sysv4).
From-SVN: r1905
1992-08-20 05:58:18 -04:00
Michael Meissner
b5b6ad4638 Add missing return; delete unused vars & static functions.
From-SVN: r1874
1992-08-17 17:45:19 +00:00
Tom Wood
72f1215c58 (simplify_by_exploding, find_and_mark_used_attributes,
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.

{....

From-SVN: r1848
1992-08-14 22:53:16 +00:00
Richard Stallman
3d678dca19 entered into RCS
From-SVN: r1470
1992-07-06 20:02:55 +00:00
Richard Stallman
f72aed244a *** empty log message ***
From-SVN: r1263
1992-06-24 03:59:40 +00:00
Richard Stallman
4504465545 *** empty log message ***
From-SVN: r1026
1992-05-20 02:47:28 +00:00
Richard Stallman
b31a5831c2 *** empty log message ***
From-SVN: r933
1992-05-07 20:01:01 +00:00
Richard Stallman
6dc42e49d3 *** empty log message ***
From-SVN: r930
1992-05-07 06:41:23 +00:00
Richard Stallman
3715a5180f *** empty log message ***
From-SVN: r925
1992-05-06 23:13:18 +00:00
Richard Stallman
85093b9c59 *** empty log message ***
From-SVN: r911
1992-05-06 02:37:42 +00:00
Richard Stallman
81fd4c6eb3 *** empty log message ***
From-SVN: r910
1992-05-05 21:48:14 +00:00
Richard Stallman
4ad05694ea *** empty log message ***
From-SVN: r897
1992-05-05 03:40:23 +00:00
Richard Stallman
61abc2ca7a *** empty log message ***
From-SVN: r895
1992-05-05 03:06:39 +00:00
Richard Stallman
eaed71194c *** empty log message ***
From-SVN: r894
1992-05-05 02:55:45 +00:00
Richard Stallman
7339c88dc5 *** empty log message ***
From-SVN: r888
1992-05-04 22:57:54 +00:00
Richard Kenner
052aaaef39 *** empty log message ***
From-SVN: r861
1992-04-29 22:20:02 -04:00
Richard Stallman
31d04616b5 *** empty log message ***
From-SVN: r843
1992-04-27 19:09:18 +00:00
Richard Kenner
29ebe69a72 *** empty log message ***
From-SVN: r666
1992-04-02 06:03:52 -05:00
Richard Kenner
e7c33f5411 *** empty log message ***
From-SVN: r652
1992-03-31 18:13:36 -05:00
Richard Kenner
c114787aa9 *** empty log message ***
From-SVN: r587
1992-03-25 21:19:06 -05:00
Richard Stallman
d45cf215ee *** empty log message ***
From-SVN: r472
1992-03-14 05:07:15 +00:00
Tom Wood
ca2d2f1ed0 *** empty log message ***
From-SVN: r414
1992-03-07 19:54:12 +00:00
Tom Wood
3e7b531304 *** empty log message ***
From-SVN: r403
1992-03-06 22:25:46 +00:00
Richard Kenner
412dc3482f *** empty log message ***
From-SVN: r380
1992-03-03 08:06:22 -05:00
Richard Stallman
5548575620 *** empty log message ***
From-SVN: r207
1992-01-18 02:42:28 +00:00
Richard Stallman
ae90e6a355 *** empty log message ***
From-SVN: r202
1992-01-17 23:03:50 +00:00
Tom Wood
41299f4171 Initial revision
From-SVN: r47
1991-10-24 17:21:48 +00:00