From bad02d7c01acbd8d98d3d9e5f37f0a0d42f2b48c Mon Sep 17 00:00:00 2001 From: Bill Traynor Date: Tue, 22 Nov 2022 15:32:08 -0500 Subject: Formatting table to fix right column. Trying to get the formatting of the table so right column content doesn't wrap weirdly. --- src/intro.adoc | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/intro.adoc b/src/intro.adoc index eab1837..0859f64 100644 --- a/src/intro.adoc +++ b/src/intro.adoc @@ -445,7 +445,7 @@ encoding scheme is designed to support ISA extensions with variable-length instructions, where each instruction can be any number of 16-bit instruction _parcels_ in length and parcels are naturally aligned on 16-bit boundaries. The standard compressed ISA extension -described in <> reduces code size by +described in <> reduces code size by providing compressed 16-bit instructions and relaxes the alignment constraints to allow all instructions (16 bit and 32 bit) to be aligned on any 16-bit boundary to improve code density. @@ -463,7 +463,7 @@ multiple of IALIGN. For implementations supporting only a base instruction set, ILEN is 32 bits. Implementations supporting longer instructions have larger values of ILEN. -<> illustrates the standard +<> illustrates the standard RISC-V instruction-length encoding convention. All the 32-bit instructions in the base ISA have their lowest two bits set to "11". The optional compressed 16-bit instruction-set extensions have their lowest @@ -487,24 +487,26 @@ between 80 bits and 176 bits are encoded using a 3-bit field in bits "111" is reserved for future longer instruction encodings. [[instlengthcode]] -.RISC-V instruction length encoding. Only the 16-bit and 32-bit encodings are considered frozen at this time. -[cols="^2,^4,^3,^3,<2",] +.RISC-V instruction length encoding. + +Only the 16-bit and 32-bit encodings are considered frozen at this time. +[%autowidth,cols="^2,^2,^3,^3,<4"] |=== -| | | |`xxxxxxxxxxxxxxaa` |16-bit (`aa`≠`11`) +||||xxxxxxxxxxxxxxaa |16-bit (aa≠11) -| | |`xxxxxxxxxxxxxxxx` |`xxxxxxxxxxxbbb11` |32-bit (`bbb`≠`111`) +|||xxxxxxxxxxxxxxxx |xxxxxxxxxxxbbb11 |32-bit (bbb≠111) -| |latexmath:[$\cdot\cdot\cdot$]`xxxx` |`xxxxxxxxxxxxxxxx` -|`xxxxxxxxxx011111` |48-bit +||latexmath:[$\cdot\cdot\cdot$]xxxx |xxxxxxxxxxxxxxxx +|xxxxxxxxxx011111 |48-bit -| |latexmath:[$\cdot\cdot\cdot$]`xxxx` |`xxxxxxxxxxxxxxxx` -|`xxxxxxxxx0111111` |64-bit +||latexmath:[$\cdot\cdot\cdot$]xxxx |xxxxxxxxxxxxxxxx +|xxxxxxxxx0111111 |64-bit -| |latexmath:[$\cdot\cdot\cdot$]`xxxx` |`xxxxxxxxxxxxxxxx` -|`xnnnxxxxx1111111` |(80+16*`nnn`)-bit, `nnn`≠`111` +||latexmath:[$\cdot\cdot\cdot$]xxxx |xxxxxxxxxxxxxxxx +|xnnnxxxxx1111111 |(80+16*nnn)-bit, nnn≠111 -| |latexmath:[$\cdot\cdot\cdot$]`xxxx` |`xxxxxxxxxxxxxxxx` -|`x111xxxxx1111111` |Reserved for ≥192-bits +||latexmath:[$\cdot\cdot\cdot$]xxxx |xxxxxxxxxxxxxxxx +|x111xxxxx1111111 |Reserved for ≥192-bits |Byte Address: |base+4 |base+2 |base | |=== -- cgit v1.1