Bug 498122 - Add RISC-V instructions and other keywords to GNU Assembler syntax highlighting
Summary: Add RISC-V instructions and other keywords to GNU Assembler syntax highlighting
Status: RESOLVED FIXED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (other bugs)
Version First Reported In: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Jure Repinc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-01 13:21 UTC by Jure Repinc
Modified: 2025-04-27 15:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.14.0
Sentry Crash Report:


Attachments
WIP without vendor specific instructions from riscv-opc.c (113.71 KB, application/xml)
2025-01-01 13:27 UTC, Jure Repinc
Details

Note You need to log in before you can comment on or make changes to this bug.
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