RISC-V: Add INSN_DREF to memory read/write instructions#90
Open
RISC-V: Add INSN_DREF to memory read/write instructions#90
INSN_DREF to memory read/write instructions#90Conversation
a852c00 to
9404ae4
Compare
89d5460 to
b9a94e8
Compare
0cb2f27 to
05fffe5
Compare
ab20a49 to
6c5011a
Compare
5992be8 to
b169fda
Compare
299ed65 to
9858575
Compare
66dac0f to
6dc8314
Compare
f7bfd52 to
5138b75
Compare
9678ebc to
a3325e9
Compare
5e081ad to
b364daf
Compare
e0d32be to
239620b
Compare
This commit adds INSN_DREF flag (and optional size-related flag) to the
instructions that read/write the memory directly. It however excludes
cache-related instructions that do synchronization of some sort but
otherwise don't touch the contents of the memory.
INSN_DREF and optional size flag are added to following instructions:
- "cbo.zero" (from the 'Zicboz' extension)
- All instructions from following custom extensions:
- 'XTheadFMemIdx'
- 'XTheadInt'
- 'XTheadMemIdx'
- 'XTheadMemPair'
opcodes/ChangeLog:
* riscv-opc.c (riscv_opcodes): Add INSN_DREF and optional size
flag on the instructions directly read/write memory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wiki Page (details): https://github.com/a4lg/binutils-gdb/wiki/riscv_opcode_dref