Skip to content

Fix AVX512 Visual Studio assembly build. - #11853

Open
kareem-wolfssl wants to merge 1 commit into
wolfSSL:masterfrom
kareem-wolfssl:zd22620
Open

kareem-wolfssl wants to merge 1 commit into
wolfSSL:masterfrom
kareem-wolfssl:zd22620

Conversation

@kareem-wolfssl

Copy link
Copy Markdown
Contributor

Description

Fixes zd#22620

Testing

Confirmed solution built and ran test suite.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@kareem-wolfssl
kareem-wolfssl requested a lite review from Copilot October 21, 2026 22:32
@kareem-wolfssl kareem-wolfssl self-assigned this Oct 21, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@kareem-wolfssl

Copy link
Copy Markdown
Contributor Author

@claude review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The equivalent wolfssl-VS2022.vcxproj still omits the required AVX-512/VAES definitions and may fail with unresolved assembly references.

1 open issue
What changed in this PR

This pull request fixes Visual Studio x64 AVX-512/VAES assembly builds by passing feature definitions to MASM and clarifying ambiguous operand sizes in the Poly1305 and ChaCha assembly sources.

Changes:

  • Adds configurable AVX-512 and VAES definitions to the Visual Studio assembly commands.
  • Clarifies YMM-sized memory operands in Poly1305 assembly.
  • Clarifies DWORD-sized vmovd operands in ChaCha assembly.
File Description
wolfssl.vcxproj Passes AVX-512 and VAES definitions to relevant x64 MASM builds; the equivalent VS2022 project remains unupdated.
wolfcrypt/​src/​poly1305_asm.asm Adds explicit YMM memory operand sizes for AVX-512 instructions.
wolfcrypt/​src/​chacha_asm.asm Adds an explicit DWORD operand size to vmovd stores.

Review effort: Lite

Comment thread wolfssl.vcxproj Resolved
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment thread wolfssl.vcxproj Resolved
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