This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Usability improvement for sim test cases


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]