Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaning: Opcode Tidying (Hints) #68

Merged
merged 2 commits into from
Oct 14, 2022
Merged

Conversation

a4lg
Copy link
Owner

@a4lg a4lg commented Oct 8, 2022

@a4lg a4lg force-pushed the riscv-opcode-tidying-hints-1 branch 11 times, most recently from 8773152 to deae234 Compare October 13, 2022 10:08
This is a part of small tidying (declare tables in riscv-opc.c).

include/ChangeLog:

	* opcode/riscv.h (riscv_rm, riscv_pred_succ): Move declarations to
	opcodes/riscv-opc.c.  New non-static definitions.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_rm, riscv_pred_succ): Move from
	include/opcode/riscv.h.  Add description.
Because all standard hints must be placed before corresponding instruction
for the disassembler, they may taint basic RVI instruction section.

This commit moves all standard hints before all basic RVI instructions
to improve maintainability.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_opcodes): Move all standard hints before all
	standard instructions.
@a4lg a4lg force-pushed the riscv-opcode-tidying-hints-1 branch from deae234 to cda4092 Compare October 14, 2022 05:23
@a4lg a4lg merged commit cda4092 into master Oct 14, 2022
@a4lg a4lg deleted the riscv-opcode-tidying-hints-1 branch October 14, 2022 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant