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

Draft Extension: ZiCond #97

Closed
wants to merge 1 commit into from
Closed

Draft Extension: ZiCond #97

wants to merge 1 commit into from

Conversation

a4lg
Copy link
Owner

@a4lg a4lg commented Nov 30, 2022

@a4lg a4lg added the enhancement New feature or request label Nov 30, 2022
@a4lg a4lg force-pushed the riscv-zicond branch 3 times, most recently from f6ef441 to bc6db8b Compare December 2, 2022 03:27
@a4lg a4lg force-pushed the riscv-zicond branch 4 times, most recently from f45f3cc to 2ec05e2 Compare December 11, 2022 06:32
@a4lg a4lg force-pushed the riscv-zicond branch 5 times, most recently from 3fe76ff to ce12ad3 Compare December 25, 2022 02:53
@a4lg a4lg force-pushed the riscv-zicond branch 4 times, most recently from f2d2e31 to 30a1df2 Compare December 29, 2022 07:50
@a4lg a4lg force-pushed the riscv-zicond branch 6 times, most recently from 9f34cfe to 966886e Compare January 7, 2023 02:32
@a4lg a4lg force-pushed the riscv-zicond branch 3 times, most recently from 6b486f5 to cd2156d Compare January 16, 2023 08:39
@a4lg a4lg force-pushed the riscv-zicond branch 4 times, most recently from 3979adb to d165d50 Compare January 30, 2023 00:26
@a4lg a4lg force-pushed the riscv-zicond branch 9 times, most recently from 02fa723 to 5b16968 Compare February 7, 2023 02:55
@a4lg a4lg force-pushed the riscv-zicond branch 2 times, most recently from dcc2ddb to e1c45fe Compare February 15, 2023 04:34
[DO NOT MERGE]
Until 'ZiCond' extension is frozen/ratified and final version number is
determined, this patch should not be merged upstream.  This commit uses
version 1.0 as in the documentation.

This commit adds support for the latest draft of RISC-V Integer Conditional
(ZiCond) extension consisting of 2 new instructions.

This is based on the early draft of 'ZiCond' extension on GitHub:
<riscvarchive/riscv-zicond@e05301d>

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_supported_std_z_ext): Add 'ZiCond'.
	(riscv_multi_subset_supports): Support new instruction class.
	(riscv_multi_subset_supports_ext): Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/zicond.s: New test for 'ZiCond'.
	* testsuite/gas/riscv/zicond.d: Likewise.
	* testsuite/gas/riscv/zicond-noarch.d: New test for
	architecture failure.
	* testsuite/gas/riscv/zicond-noarch.l: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_CZERO_EQZ, MASK_CZERO_EQZ,
	MATCH_CZERO_NEZ, MASK_CZERO_NEZ): New.
	* opcode/riscv.h (enum riscv_insn_class): Add new instruction
	class INSN_CLASS_ZICOND.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_opcodes): Add new instructions from the
	'ZiCond' extension.
@a4lg
Copy link
Owner Author

a4lg commented Jul 24, 2023

As the support for this extension is upstreamed by Philipp Tomsich, this branch is no longer necessary.

@a4lg a4lg closed this Jul 24, 2023
@a4lg a4lg deleted the riscv-zicond branch July 24, 2023 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant