Bug 498122

Summary: Add RISC-V instructions and other keywords to GNU Assembler syntax highlighting
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: Jure Repinc <jlp>
Component: syntaxAssignee: Jure Repinc <jlp>
Status: RESOLVED FIXED    
Severity: wishlist CC: kwrite-bugs-null, walter.von.entferndt, waqar.17a
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed/Implemented In: 6.14.0
Sentry Crash Report:
Attachments: WIP without vendor specific instructions from riscv-opc.c

Comment 1 Jure Repinc 2025-01-01 13:27:21 UTC
Created attachment 177016 [details]
WIP without vendor specific instructions from riscv-opc.c
Comment 2 Waqar Ahmed 2025-01-01 14:46:04 UTC
Feel free to send an MR here: https://invent.kde.org/frameworks/syntax-highlighting/
Comment 3 Bug Janitor Service 2025-04-17 03:54:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/694
Comment 4 Bug Janitor Service 2025-04-17 03:54:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/694
Comment 5 Jure Repinc 2025-04-27 15:37:22 UTC
Git commit 10f4b5d05f5b2f634879d5cfec557211fec9660a by Jure Repinc.
Committed on 17/04/2025 at 02:45.
Pushed by cullmann into branch 'master'.

Syntax highlighting: Added RISC-V instructions for GNU Assembler

The source of RISC-V instructions is mostly the GNU binutils/gas:
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=opcodes/riscv-opc.c

I have also added some new categories of instructions:
 - Vendor-specific instructions
 - Vendor-specific branch instructions
 - Deprecated/removed instructions
 - Symbolic constants
 - Vendor-specific symbolic constants
This way the user can set specific formats/colors to distinguish them
from normal standard instructions/constants. By default they should
appear the same.
FIXED-IN: 6.14.0

M  +2838 -12   data/syntax/gnuassembler.xml

https://invent.kde.org/frameworks/syntax-highlighting/-/commit/10f4b5d05f5b2f634879d5cfec557211fec9660a
Comment 6 Jure Repinc 2025-04-27 15:37:27 UTC
Git commit 10f4b5d05f5b2f634879d5cfec557211fec9660a by Jure Repinc.
Committed on 17/04/2025 at 02:45.
Pushed by cullmann into branch 'master'.

Syntax highlighting: Added RISC-V instructions for GNU Assembler

The source of RISC-V instructions is mostly the GNU binutils/gas:
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=opcodes/riscv-opc.c

I have also added some new categories of instructions:
 - Vendor-specific instructions
 - Vendor-specific branch instructions
 - Deprecated/removed instructions
 - Symbolic constants
 - Vendor-specific symbolic constants
This way the user can set specific formats/colors to distinguish them
from normal standard instructions/constants. By default they should
appear the same.
FIXED-IN: 6.14.0

M  +2838 -12   data/syntax/gnuassembler.xml

https://invent.kde.org/frameworks/syntax-highlighting/-/commit/10f4b5d05f5b2f634879d5cfec557211fec9660a