THURSDAY, SEPTEMBER 24, 2026
loongarch — Proposed
LoongArch: Fix non-ASCII string in disassemble_annotate_one function
Fixes non-ASCII characters in comments within the LoongArch disassembler.
This patch addresses an issue in the LoongArch disassembler by fixing multiple non-ASCII โ-โ characters found in comments within the disassemble_annotate_one function. The changes involve replacing these characters to ensure correct display and avoid potential issues with tools that parse source code.
In Details
This patch modifies comments in opcodes/loongarch-dis.c to replace non-ASCII hyphens ('-') with standard ASCII hyphens. The affected comments are part of the annotation layout description for the dbar instruction. The change ensures that the source code is clean and compatible with ASCII-based parsing tools.
For Context
- LoongArch
- An instruction set architecture (ISA) developed by Loongson Technology, primarily for use in China.
- disassembler
- A program that translates machine code (binary instructions) back into a human-readable assembly language format.
- dbar
- Likely refers to a specific instruction or a type of barrier in the LoongArch architecture, possibly related to memory ordering or synchronization.
- annotate
- To add explanatory notes or comments to code or data.