* [RFA:] Improve cgen/doc/rtl.texi wrt. timing and PROFILE.
@ 2002-11-30 0:25 Hans-Peter Nilsson
2002-11-30 3:18 ` Ben Elliston
2002-11-30 3:18 ` Ben Elliston
0 siblings, 2 replies; 3+ messages in thread
From: Hans-Peter Nilsson @ 2002-11-30 0:25 UTC (permalink / raw)
To: cgen
Slight improvements to the documentation, I hope.
By the way, it seems toplevel configury does not create a
cgen/Makefile, necessary for "make info" to take effect, even
though nothing else is created object-wise. Needs fixing.
Ok to commit?
* doc/rtl.texi (Model variants): Mention current limitations for
unit inputs and outputs.
(Hardware elements) <attribute PROFILE>: Be slightly more
verbose.
(Instructions) <timing>: input/output overrides have a direction
operand.
Index: rtl.texi
===================================================================
RCS file: /cvs/src/src/cgen/doc/rtl.texi,v
retrieving revision 1.15
diff -c -p -r1.15 rtl.texi
*** rtl.texi 29 Jan 2002 22:51:52 -0000 1.15
--- rtl.texi 30 Nov 2002 08:13:20 -0000
*************** function unit called @samp{u-cmp} is def
*** 755,761 ****
This handles instructions that use src1 and src2 as operands. The
organization of units is arbitrary. On the M32R, src1/src2 instructions
are typically compare instructions so a separate function unit was
! created for them.
@node Hardware elements
@section Hardware Elements
--- 755,763 ----
This handles instructions that use src1 and src2 as operands. The
organization of units is arbitrary. On the M32R, src1/src2 instructions
are typically compare instructions so a separate function unit was
! created for them. Current limitations require that each hardware item
! behind the operands must be marked with the attribute @code{PROFILE} and
! the hardware item must not be scalar.
@node Hardware elements
@section Hardware Elements
*************** with @code{VIRTUAL} (??? revisit).
*** 813,820 ****
@item PROFILE
! Ignore. This is a work-in-progress to define how to profile references
! to hardware elements.
@item VIRTUAL
--- 815,823 ----
@item PROFILE
! This attribute must be present for hardware elements to which references
! are profiled. Beware, this is work-in-progress. If you use this
! attribute it is likely you have to hack CGEN. (Please submit patches.)
@item VIRTUAL
*************** that supports the instruction. The defa
*** 1866,1879 ****
The syntax is:
@example
! (mach-name (unit name (unit-var-name1 insn-operand-name1)
! (unit-var-name2 insn-operand-name2)
...
(cycles cycle-count))
@end example
! unit-var-name/insn-operand-name mappings are optional.
! They map unit inputs/outputs to semantic elements.
@code{cycles} overrides the @code{done} value (latency) of the function
unit and is optional.
--- 1869,1885 ----
The syntax is:
@example
! (mach-name (unit name (direction unit-var-name1 insn-operand-name1)
! (direction unit-var-name2 insn-operand-name2)
...
(cycles cycle-count))
@end example
! direction/unit-var-name/insn-operand-name mappings are optional.
! They map unit inputs/outputs to semantic elements. The
! direction specifier can be @code{in} or @code{out} mapping the
! name of a unit input or output, respectively, to an insn
! operand.
@code{cycles} overrides the @code{done} value (latency) of the function
unit and is optional.
brgds, H-P
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA:] Improve cgen/doc/rtl.texi wrt. timing and PROFILE.
2002-11-30 0:25 [RFA:] Improve cgen/doc/rtl.texi wrt. timing and PROFILE Hans-Peter Nilsson
2002-11-30 3:18 ` Ben Elliston
@ 2002-11-30 3:18 ` Ben Elliston
1 sibling, 0 replies; 3+ messages in thread
From: Ben Elliston @ 2002-11-30 3:18 UTC (permalink / raw)
To: Hans-Peter Nilsson; +Cc: cgen
>>>>> "Hans-Peter" == Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
Hans-Peter> Ok to commit?
Approved.
Ben
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA:] Improve cgen/doc/rtl.texi wrt. timing and PROFILE.
2002-11-30 0:25 [RFA:] Improve cgen/doc/rtl.texi wrt. timing and PROFILE Hans-Peter Nilsson
@ 2002-11-30 3:18 ` Ben Elliston
2002-11-30 3:18 ` Ben Elliston
1 sibling, 0 replies; 3+ messages in thread
From: Ben Elliston @ 2002-11-30 3:18 UTC (permalink / raw)
To: Hans-Peter Nilsson; +Cc: cgen
>>>>> "Hans-Peter" == Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
Hans-Peter> Slight improvements to the documentation, I hope. By
Hans-Peter> the way, it seems toplevel configury does not create a
Hans-Peter> cgen/Makefile, necessary for "make info" to take effect,
Hans-Peter> even though nothing else is created object-wise. Needs
Hans-Peter> fixing.
Ah yes -- this is indeed a problem.
The easiest way to solve it for now is to re-introduce cgen in the
host_tools list and have the top-level configure script configure the
src/cgen directory. Then "make info" and "make install-info" will
work. Feel free to initiate such a patch!
Cheers, Ben
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-30 11:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-30 0:25 [RFA:] Improve cgen/doc/rtl.texi wrt. timing and PROFILE Hans-Peter Nilsson
2002-11-30 3:18 ` Ben Elliston
2002-11-30 3:18 ` Ben Elliston
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).