Debian Codegraph @

gcc/testsuite/g++.target/i386/interference.C

raw
1 // Test C++17 hardware interference size constants
2 // { dg-do compile { target c++17 } }
3
4 #include <new>
5
6 // It is generally agreed that these are the right values for all x86.
7 static_assert(std::hardware_destructive_interference_size == 64);
8 static_assert(std::hardware_constructive_interference_size == 64);