Skip to content

Commit

Permalink
recommend renaming CBO opcode to CMO
Browse files Browse the repository at this point in the history
Signed-off-by: Guy Lemieux <[email protected]>
  • Loading branch information
ubc-guy authored Sep 13, 2024
1 parent 588d840 commit b270261
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions TG/riscv-cmo2/cmo2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1297,12 +1297,14 @@ Encoding::
{reg:[
{ bits: 7, name: 0xF, attr: ['MISC-MEM'] },
{ bits: 5, name: 0x0 },
{ bits: 3, name: 0x2, attr: ['CIO'] },
{ bits: 3, name: 0x2, attr: ['CBO'] },
{ bits: 5, name: 'rs1', attr: ['base'] },
{ bits: 12, name: 0x001, attr: ['CIO.CLEAN'] },
]}
....

#RECOMMEND: Renaming the 3 CBO encoding bits from CBO to CMO#

Description::

A *cio.clean* instruction performs a clean operation on the cache block resident
Expand Down Expand Up @@ -1340,7 +1342,7 @@ Encoding::
{reg:[
{ bits: 7, name: 0xF, attr: ['MISC-MEM'] },
{ bits: 5, name: 0x0 },
{ bits: 3, name: 0x2, attr: ['CIO'] },
{ bits: 3, name: 0x2, attr: ['CBO'] },
{ bits: 5, name: 'rs1', attr: ['base'] },
{ bits: 12, name: 0x002, attr: ['CIO.FLUSH'] },
]}
Expand Down Expand Up @@ -1375,7 +1377,7 @@ Encoding::
{reg:[
{ bits: 7, name: 0xF, attr: ['MISC-MEM'] },
{ bits: 5, name: 0x0 },
{ bits: 3, name: 0x2, attr: ['CIO'] },
{ bits: 3, name: 0x2, attr: ['CBO'] },
{ bits: 5, name: 'rs1', attr: ['base'] },
{ bits: 12, name: 0x000, attr: ['CIO.INVAL'] },
]}
Expand Down

0 comments on commit b270261

Please sign in to comment.