This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Usability improvement for sim test cases
- To: cgen at sources dot redhat dot com
- Subject: Usability improvement for sim test cases
- From: Ben Elliston <bje at redhat dot com>
- Date: Wed, 1 Nov 2000 22:51:44 +1100
This patch was so trivial, I just checked it in. It makes writing sim
test cases more bearable when using Emacs (and other operating
systems). ;-)
Ben
2000-11-01 Ben Elliston <bje@redhat.com>
* sim-test.scm (cgen-build.sh): Include "-*- Asm -*-" in test cases.
*** sim-test.scm 2000/07/27 04:53:32 1.21
--- sim-test.scm 2000/11/01 11:50:21
***************
*** 191,197 ****
(string-append
"cat <<EOF > " (gen-file-name (obj:name insn)) ".cgs\n"
; FIXME: Need to record assembler line comment char in .cpu.
! "# " (current-arch-name) " testcase for " (backslash "$" (insn-syntax insn)) "\n"
"# mach: "
(let ((machs (insn-machs insn)))
(if (null? machs)
--- 191,197 ----
(string-append
"cat <<EOF > " (gen-file-name (obj:name insn)) ".cgs\n"
; FIXME: Need to record assembler line comment char in .cpu.
! "# " (current-arch-name) " testcase for " (backslash "$" (insn-syntax insn)) " -*- Asm -*-\n"
"# mach: "
(let ((machs (insn-machs insn)))
(if (null? machs)