This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC/GLIBC and non-temporal instructions


Sergey Oboguev <oboguev@yahoo.com> writes:

> The question is whether there is any GCC/runtime policy on non-temporal 
> SSE/3DNow instructions?

As far as I know gcc will never generate any non-temporal instructions,
except if the programmer uses the special intrinsic functions which
generate them.  If the programmer uses those intrinsic functions, she or
he is entirely responsible for issuing the required fence instructions,
via intrinsic functions like _mm_lfence.

So the GCC/runtime policy on non-temporal instructions is that using
them correctly is entirely up to the programmer.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]