From: Patrick Macdonald Date: Fri, 2 Feb 2001 22:50:13 +0000 (+0000) Subject: CGEN portion of fix for syntax array elements when max operands X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=ffdeb20cc48d61bbb25695ea09b29e5542d2abd7;p=cgen.git CGEN portion of fix for syntax array elements when max operands greater than 127. 2001-02-02 Patrick Macdonald * desc-cpu.scm (-gen-hash-defines): Rename CGEN_ACTUAL_MAX_SYNTAX_BYTES to CGEN_ACTUAL_MAX_SYNTAX_ELEMENTS. --- diff --git a/ChangeLog b/ChangeLog index e51d648..c8b297c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-02-02 Patrick Macdonald + + * desc-cpu.scm (-gen-hash-defines): Rename + CGEN_ACTUAL_MAX_SYNTAX_BYTES to CGEN_ACTUAL_MAX_SYNTAX_ELEMENTS. + 2001-01-26 Frank Ch. Eigler * sid-cpu.scm (gen-parallel-exec-type): Use unsigned long long for diff --git a/desc-cpu.scm b/desc-cpu.scm index b429545..221a239 100644 --- a/desc-cpu.scm +++ b/desc-cpu.scm @@ -324,8 +324,8 @@ const CGEN_HW_ENTRY @arch@_cgen_hw_table[] = (if (all-true? (map isa-integral-insn? (current-isa-list))) "1" "0") "\n" "\n" - "/* Maximum nymber of syntax bytes in an instruction. */\n" - "#define CGEN_ACTUAL_MAX_SYNTAX_BYTES " + "/* Maximum number of syntax elements in an instruction. */\n" + "#define CGEN_ACTUAL_MAX_SYNTAX_ELEMENTS " ; The +2 account for the leading "MNEM" and trailing 0. (number->string (+ 2 (apply max (map (lambda (insn) (length (syntax-break-out (insn-syntax insn))))