Skip to content

Define addtag to copy the source register if MT is disabled - #98

Merged
Florian Mayer (fmayer) merged 5 commits into
riscv:mainfrom
fmayer:addtag
May 18, 2026
Merged

Define addtag to copy the source register if MT is disabled#98
Florian Mayer (fmayer) merged 5 commits into
riscv:mainfrom
fmayer:addtag

Conversation

@fmayer

Copy link
Copy Markdown
Collaborator

This allows more optimized codegen for when the target is known to implement MT.

Fixes #96

This allows more optimized codegen for when the target is known to
implement MT.

Fixes riscv#96

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two typos, and the removal of "we"

Comment thread src/mte_tag.adoc Outdated
Comment thread src/mte_tag.adoc Outdated
Comment thread src/mte_tag.adoc Outdated
Comment thread src/mte_tag.adoc Outdated

@deepak0414 deepak0414 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending review comments from luis and I, lgtm

Florian Mayer (fmayer) and others added 4 commits May 18, 2026 13:50
Co-authored-by: Luís Fiolhais <luisazenhas.fiolhais@protonmail.com>
Signed-off-by: Florian Mayer <florian.mayer@bitsrc.org>
Co-authored-by: Luís Fiolhais <luisazenhas.fiolhais@protonmail.com>
Signed-off-by: Florian Mayer <florian.mayer@bitsrc.org>
Co-authored-by: Luís Fiolhais <luisazenhas.fiolhais@protonmail.com>
Signed-off-by: Florian Mayer <florian.mayer@bitsrc.org>
Signed-off-by: Florian Mayer <fmayer@google.com>
@fmayer
Florian Mayer (fmayer) merged commit ffc2645 into riscv:main May 18, 2026
2 checks passed
Radim Krčmář (radimkrcmar) pushed a commit to radimkrcmar/riscv-memory-tagging that referenced this pull request Jun 26, 2026
* Define addtag to copy the source register if MT is disabled

This allows more optimized codegen for when the target is known to
implement MT.

Fixes riscv#96

Signed-off-by: Florian Mayer <fmayer@google.com>
Co-authored-by: Luís Fiolhais <luisazenhas.fiolhais@protonmail.com>
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.

Change addtag semantics for MT off (but implemented)

4 participants