Skip to content

AOT: implement non-speculative int64 versions of MOD and TRUNCDIV #33967

@mraleph

Description

@mraleph

Our compiler does not inline / specialize int.% or int.~/ even on platforms where there are short enough instruction sequences.

On ARM64 we should probably always emit sdiv for TRUNCDIV and sdiv+msub for MOD.

On ARM32 we probably emit whatever we emit for IntegerDivision or maybe a call to __aeabi_ldivmod - if that is better.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions