public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix a couple of comment typos
@ 2018-11-28 20:22 Jose E. Marchesi
  0 siblings, 0 replies; only message in thread
From: Jose E. Marchesi @ 2018-11-28 20:22 UTC (permalink / raw)
  To: cgen


Hello there.  Just fixing a couple of typos in comments :)
Salud!

cgen/ChangeLog:

2018-11-28  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* mach.scm (<isa>): Fix documentation of base-insn-bitsize.
	(state-base-insn-bitsize): Likewise in function docstring.
	(/adata-set-derived!): Fix documentation of large-insn-word?
	initializer.

Index: cgen/mach.scm
===================================================================
RCS file: /cvs/src/src/cgen/mach.scm,v
retrieving revision 1.28
diff -u -r1.28 mach.scm
--- cgen/mach.scm	13 Feb 2010 03:39:15 -0000	1.28
+++ cgen/mach.scm	28 Nov 2018 20:20:53 -0000
@@ -1079,7 +1079,7 @@
 		;; and by the simulator's invalid insn handler.
 		default-insn-bitsize
 
-		;; Number of bytes of insn that can be initially fetched.
+		;; Number of bits of insn that can be initially fetched.
 		;; In non-LIW isas this would be the length of the smallest
 		;; insn.  For LIW isas it depends - only one LIW isa is
 		;; currently supported (m32r).
@@ -1716,7 +1716,7 @@
     (car dib))
 )
 
-;; Number of bytes of insn we can initially fetch.
+;; Number of bits of insn we can initially fetch.
 ;; All selected isas must have same value or error.
 
 (define (state-base-insn-bitsize)
@@ -1794,7 +1794,7 @@
    (make <derived-arch-data>
      ;; integral-insn?
      (delay (isa-integral-insn? (current-isa)))
-     ;; insn-word-bitsize
+     ;; large-insn-word?
      (> (apply max (map isa-base-insn-bitsize (current-isa-list))) 32)
      ))
 )

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-28 20:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-28 20:22 [PATCH] Fix a couple of comment typos Jose E. Marchesi

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).