Atomic Minimum on x86 using OpenMP
问题 Does OpenMP support an atomic minimum for C++11? If OpenMP has no portable method: Is there some way of doing it using a x86 or amd64 feature? In the OpenMP specifications I found nothing for C++ but the Fortran version seems to support it. See 2.8.5 of the v3.1 for the details. For C++ it states binop is one of +, *, -, /, &, ^, |, <<, or >>. but for Fortran it states intrinsic_procedure_name is one of MAX, MIN, IAND, IOR, or IEOR. In case you are interested in more context: I am looking for