Skip to content

vcompress and mask-producing instr tail elements signature fix#1183

Open
georgiatai wants to merge 63 commits intoriscv:act4from
georgiatai:rv64selfcheck
Open

vcompress and mask-producing instr tail elements signature fix#1183
georgiatai wants to merge 63 commits intoriscv:act4from
georgiatai:rv64selfcheck

Conversation

@georgiatai
Copy link
Copy Markdown
Contributor

Fixes on signature for vcompress and mask-producing instruction tail elements as mentioned in issue #1148

@georgiatai georgiatai closed this Apr 2, 2026
@georgiatai georgiatai reopened this Apr 2, 2026
@georgiatai georgiatai closed this Apr 2, 2026
@georgiatai georgiatai reopened this Apr 2, 2026
@georgiatai
Copy link
Copy Markdown
Contributor Author

Add indentations so signature.h is a little unclear on what is changed, the main changes are line 368-369, 375-379, 409-416, and the corresponding non-selfchecking version.

This PR was closed and reopened because there are things that I thought I haven't fix but I actually did. Sorry for the confusion.

@Jimx-
Copy link
Copy Markdown

Jimx- commented Apr 2, 2026

It looks like vcompress is not the only instruction that can have a different effective vector length of vd than the original vl. vmv.s.x and all reduction operations write scalar result to element 0 of vd and other elements (0 < index < VLEN/VSEW) are tail elements. They are like vcompress but with only 1 active element in vd.

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.

3 participants