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

invsqrt and codel support? #27

Open
dtaht opened this issue May 30, 2023 · 2 comments
Open

invsqrt and codel support? #27

dtaht opened this issue May 30, 2023 · 2 comments

Comments

@dtaht
Copy link

dtaht commented May 30, 2023

invsqrt is a tofino extension, needed for the codel AQM to work.

https://github.com/ralfkundel/p4-codel/blob/master/targets/tofino/srcP4/CoDel.p4

@rcgoodfellow
Copy link
Collaborator

Hey There. If I understand correctly you're after the MathUnit extern from the Tofino Native Architecture?

Currently the only extern that's supported is a very simple Checksum extern.

It'd be great to see MathUnit support added. I'm not sure when I'd be able to hammer it out myself, but I'm adding the want label to this issue so it's on the radar. PRs always welcome.

@dtaht
Copy link
Author

dtaht commented May 31, 2023

thx. invsqrt is a single sse or neon instruction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants