-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
I'm not sure if this is a bug or not, but I noticed that FB Folly has two versions of doNotOptimizeAway
asm volatile("" ::"r"(datum));
asm volatile("" ::"m"(datum) : "memory");
First one for size <= long, second one for larger sizes. Where as our test::black_box
only has the first version. Is the second one needed?
Metadata
Metadata
Assignees
Labels
C-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.