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

[dpdk-rs] update intrinsics flags for bindgen and inline #1099

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

tylerretzlaff
Copy link
Member

  • Add the -mavx flag to build of the inline translation unit to match the flag passed to clang for bindgen.

  • Add the rtm and cldemote flags for both bindgen and inline to make visible respective intrinsics in the application namespace. This allows build.rs to be robust to DPDK that may have intrinsics option enabled instead of inline asm.

@tylerretzlaff tylerretzlaff force-pushed the enhancement-dpdk-rs-intrinsics branch from a240bcf to 27534d6 Compare December 19, 2023 23:30
@tylerretzlaff tylerretzlaff changed the title dpdk-rs Enhancement: update intrinsics flags for bindgen and inline [dpdk-rs] Enhancement update intrinsics flags for bindgen and inline Dec 19, 2023
@anandbonde anandbonde changed the title [dpdk-rs] Enhancement update intrinsics flags for bindgen and inline [dpdk-rs] update intrinsics flags for bindgen and inline Dec 19, 2023
* Add the -mavx flag to build of the inline translation unit to match
  the flag passed to clang for bindgen.

* Add the rtm and cldemote flags for both bindgen and inline to make
  visible respective intrinsics in the application namespace. This
  allows build.rs to be robust to DPDK that may have intrinsics option
  enabled instead of inline asm.

Signed-off-by: Tyler Retzlaff <[email protected]>
@tylerretzlaff tylerretzlaff force-pushed the enhancement-dpdk-rs-intrinsics branch from 27534d6 to 1b33d79 Compare December 19, 2023 23:35
@anandbonde anandbonde self-requested a review December 19, 2023 23:45
Copy link
Contributor

@anandbonde anandbonde left a comment

Choose a reason for hiding this comment

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

Looks good.

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