You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background and motivation. I am working on contributing a LoongArch641 decoder to this project. Some instructions in LA64 contain underscores (_) in their mnemonics, such as the AMSWAP_DB.W atomic memory access instruction2. In the current approach, underscores are an "escaped" version of dots (.) and are replaced with dots before display. This workaround will break mnemonics with underscores.
Background and motivation. I am working on contributing a LoongArch641 decoder to this project. Some instructions in LA64 contain underscores (
_) in their mnemonics, such as theAMSWAP_DB.Watomic memory access instruction2. In the current approach, underscores are an "escaped" version of dots (.) and are replaced with dots before display. This workaround will break mnemonics with underscores.instruction-decoder/src/lib.rs
Line 845 in 8894eaa
Possible solution. I can see these possible solutions to this problem.
__) to represent a single underscore.Which approach can benefit this project most?
Footnotes
https://docs.kernel.org/arch/loongarch/introduction.html ↩
https://github.com/loongson/LoongArch-Documentation/blob/e0d6592229d9e00e512bd28b688a7f20b171714f/docs/LoongArch-Vol1-EN/basic-integer-instructions/overview-of-basic-integer-instructions/atomic-memory-access-instructions.adoc ↩
https://toml.io/en/v1.0.0#keys ↩