From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Frank Ch. Eigler" To: Carl Frankel Cc: "'cgen@sources.redhat.com'" Subject: Re: CGEN output files Date: Fri, 09 Mar 2001 19:03:00 -0000 Message-id: <20010309220315.A20081@redhat.com> References: <470AE13EFEA7D31197C000508B139C67C7BF90@fenway.scenix.com> X-SW-Source: 2001-q1/msg00153.html Hi - On Fri, Mar 09, 2001 at 04:16:14PM -0800, Carl Frankel wrote: : Question: Does CGEN produce .l/.y files for the assembler : as a part of its output? [...] Do you mean lex/yacc input files? No. CGEN-based assemblers use a less formal run-time parser system built into the opcodes library and to a lesser extent gas. : I ask this as a cpu verifier. I need to generate a : directed/random instruction sequence generator [...] You may find the existing assembler test case generator of use. See cgen's gas-test module and Makefile target. It is fairly simpleminded (especially with regard to the lack of diversity in the operand values), but with perhaps not much Scheme code, it could be made to emit a stream of randomized instructions. - FChE -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6qZlzVZbdDOm/ZT0RApS1AJ9JTC4AIhp5RIjl6BZwlsWAUyM+EQCfXAYQ 18oS5iFPbp/vHlvJ2COXUSo= =n9IG -----END PGP SIGNATURE-----