Skip to content

udiv128by64to64default not adding back #150412

@haberg-1

Description

@haberg-1

The function “udiv128by64to64default” in file udivmodti4.c on the link below does not add back after the reductions of q1 and q0, which causes an error of 1 with probability 2/𝛽, where 𝛽 is the base.

https://raw.githubusercontent.com/llvm/llvm-project/refs/heads/main/compiler-rt/lib/builtins/udivmodti4.c

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions