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

vfloat sequencing #221

Closed
wants to merge 1 commit into from
Closed

Conversation

orion160
Copy link
Collaborator

No description provided.

@orion160
Copy link
Collaborator Author

Prior to merge needs UopGen refactor

"vfrsub.vf" : {"pipe" : "vfloat", "uop_gen" : "ARITH", "latency" : 6},

# Vector Floating-Point Instructions: Vector Widening Floating-Point Add/Subtract Instructions
"vfwadd.vv" : {"pipe" : "vfloat", "uop_gen" : "ARITH", "latency" : 6},
Copy link
Contributor

Choose a reason for hiding this comment

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

These instructions have wide dests so they should use ARITH_WIDE_DEST.

"vfnmsub.vf" : {"pipe" : "vfloat", "uop_gen" : "ARITH", "latency" : 6},

# Vector Floating-Point Instructions: Vector Widening Floating-Point Fused Multiply-Add Instructions
"vfwmacc.vv" : {"pipe" : "vfloat", "uop_gen" : "ARITH", "latency" : 6},
Copy link
Contributor

Choose a reason for hiding this comment

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

These should use the ARITH_MAC which adds the destination of each uop as a source.

@kathlenemagnus-mips
Copy link
Contributor

@orion160 the uop generators for the vector floating point instructions need to be reviewed. I would also add a new execution unit for vfmul to be analogous to the vmul unit.

@orion160
Copy link
Collaborator Author

@kathlenemagnus-mips should it be the same with vfdiv?

I think that the float division, and the reciprocal estimates could make use of this resource.

@orion160 orion160 closed this Nov 18, 2024
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