Usability improvement for sim test cases
Ben Elliston
bje@redhat.com
Wed Nov 1 03:51:00 GMT 2000
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)
More information about the Cgen
mailing list