Skip to content

Conversation

@chihminchao
Copy link
Contributor

Some rules are not common.

Copy link
Collaborator

@aswaterman aswaterman left a comment

Choose a reason for hiding this comment

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

Actually, I think the require(((float)P.VU.vflmul / div) >= 0.125 && ((float)P.VU.vflmul / div) <= 8 ); should remain common code. I agree that the require(from >= e8 && from <= e64); needs to be factored out since SEW / div equals 4 in the vfext case.

Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
@chihminchao chihminchao force-pushed the fix-zvfofp4min-contraint branch from ee16c42 to 755ad71 Compare November 28, 2025 03:53
@chihminchao
Copy link
Contributor Author

follow the suggestion to refine the common part.

@aswaterman
Copy link
Collaborator

Thanks!

@aswaterman aswaterman merged commit 6392b9e into riscv-software-src:master Nov 30, 2025
3 checks passed
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.

2 participants