Skip to content

small bug in the branchless programming section? #391

Description

@daherlucas

in https://en.algorithmica.org/hpc/pipelining/branchless/ I think both uses of sar should actually be shr. Here is a quick program (written by claude) to test it: https://godbolt.org/z/TMcrvojnc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions