generated from riscv/docs-spec-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/mte_tag: revise pointer tag instructions
Current pointer tag instructions to annotate pointers with tags are zimop and take the form where `rd=0` and `rs1` acts as source and destination both. One primary feedback has been that it makes semantics weird and can impact implementation. As part of this patch, pointer tag annotation is split into two instructions. First instruction prepares the tag and second instruction merges that tag into pointer. If memory tagging is disabled then first instruction prepares zero into destination and subsequent instruction merge of tag into pointer doesn't impact addressing bits of pointer. Signed-off-by: Deepak Gupta <[email protected]>
- Loading branch information
1 parent
93ac731
commit 45bfd56
Showing
1 changed file
with
55 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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