Skip to content

Fix Assembler Warning: mnemonic suffix used with `div' #137

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

Merged
merged 2 commits into from
Mar 31, 2025

Conversation

kimwalisch
Copy link
Collaborator

This merge request fixes the following assembler warning that occurs when compiling using the upcoming GCC 15 on MinGW-w64/MSYS (Windows 11) for x86-64 CPUs:

C:\msys64\tmp\ccEHfp1X.s: Assembler messages:
C:\msys64\tmp\ccEHfp1X.s:7548: Warning: mnemonic suffix used with `div'
C:\msys64\tmp\ccEHfp1X.s:7548: Warning: NOTE: Such forms are deprecated and will be rejected by a future version of the assembler

Note that the warning is only emitted for __x86_64__ but not for __i386__. Hence __asm__("divl ..." can remain as is for the time being.

@kimwalisch kimwalisch self-assigned this Mar 31, 2025
@kimwalisch kimwalisch merged commit 6fceb1a into ridiculousfish:master Mar 31, 2025
14 checks passed
@kimwalisch kimwalisch deleted the fix_divq_warning branch March 31, 2025 14:18
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.

1 participant