Skip to content

[Question] about when to use mm_sfence #8

Description

@dirtysalt

Maybe quite naive, but why use mm_sfence if size >= L2 cache size? https://github.com/skywind3000/FastMemcpy/blob/master/FastMemcpy.h#L680

And what if L2 cache size (0x200000) is not actually L2 cache size, is there any impact on performance?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions