Skip to content

use fmod() for modulus operator#22683

Merged
thewilsonator merged 1 commit intodlang:masterfrom
WalterBright:fmod
Mar 3, 2026
Merged

use fmod() for modulus operator#22683
thewilsonator merged 1 commit intodlang:masterfrom
WalterBright:fmod

Conversation

@WalterBright
Copy link
Member

Only x87 seems to have an instruction specific to modulus.

@WalterBright WalterBright added Compiler:Backend glue code, optimizer, code generation Arch:Aarch64 Issues specific to Arm 64 labels Mar 3, 2026
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#22683"

@WalterBright
Copy link
Member Author

Added OPmodass support.

@thewilsonator thewilsonator merged commit 80418b6 into dlang:master Mar 3, 2026
38 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch:Aarch64 Issues specific to Arm 64 Compiler:Backend glue code, optimizer, code generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants