Skip to content

Commit d7ae73a

Browse files
authored
Merge pull request riscv#1821 from pfusik/c-st-strong-code-em
Undo special formatting of compressed integer reg-reg expansions
2 parents 4f277ff + e982ffe commit d7ae73a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/c-st-ext.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -733,34 +733,34 @@ These instructions use the CA format.
733733
`C.AND` computes the bitwise `AND` of the values in registers
734734
_rd′_ and _rs2′_, then writes the result
735735
to register _rd′_. `C.AND` expands into
736-
*`_and rd′, rd′, rs2′_`*.
736+
`and rd′, rd′, rs2′`.
737737

738738
`C.OR` computes the bitwise `OR` of the values in registers
739739
_rd′_ and _rs2′_, then writes the result
740740
to register _rd′_. `C.OR` expands into
741-
*`_or rd′, rd′, rs2′_`*.
741+
`or rd, rd, rs2′`.
742742

743743
`C.XOR` computes the bitwise `XOR` of the values in registers
744744
_rd′_ and _rs2′_, then writes the result
745745
to register _rd′_. `C.XOR` expands into
746-
*`_xor rd′, rd′, rs2′_`*.
746+
`xor rd′, rd′, rs2′`.
747747

748748
`C.SUB` subtracts the value in register _rs2′_ from the
749749
value in register _rd′_, then writes the result to
750750
register _rd′_. `C.SUB` expands into
751-
*`_sub rd′, rd′, rs2′_`*.
751+
`sub rd′, rd′, rs2′`.
752752

753753
`C.ADDW` is an RV64C/RV128C-only instruction that adds the values in
754754
registers _rd′_ and _rs2′_, then
755755
sign-extends the lower 32 bits of the sum before writing the result to
756756
register _rd′_. `C.ADDW` expands into
757-
*`_addw rd′, rd′, rs2′_`*.
757+
`addw rd′, rd′, rs2′`.
758758

759759
`C.SUBW` is an RV64C/RV128C-only instruction that subtracts the value in
760760
register _rs2′_ from the value in register
761761
_rd′_, then sign-extends the lower 32 bits of the
762762
difference before writing the result to register _rd′_.
763-
`C.SUBW` expands into *`_subw rd′, rd′, rs2′_`*.
763+
`C.SUBW` expands into `subw rd′, rd′, rs2′`.
764764

765765
[NOTE]
766766
====

0 commit comments

Comments
 (0)