Skip to content

cmovnz and cmovz docs are confusing  #990

@elahn

Description

@elahn

In the description of both cmovnz and cmovz, it says:

conditionally moves value to self when condition is equal to zero.

The function names and first line of description convey their purpose. In the rest, it might be more clear to separate the function behaviour from instructions used to implement it.

The crate-level docs are excellent. Thank you for publishing the cmov crate! Implementing branch-free algorithms in Rust are no longer blocked on learning inline assembly.

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