Skip to content

Copying a static value in an array with -Oz far from optimal size #108841

Open
@AZero13

Description

@AZero13

https://godbolt.org/z/o6cf889oG

Even ignoring the fact GCC's code is smaller, there is an instruction that is not being used that can make this happen faster:
repstosd

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