This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
instruction sync -- need to preserve order
- From: Rayson Ho <raysonlogin at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 6 Dec 2001 13:29:47 -0800 (PST)
- Subject: instruction sync -- need to preserve order
Hi,
How can I make sure that gcc does not schedule instructions across a
memory barrier?? I am porting a threads library from AIX to PPC Linux,
and on AIX, the compiler has a build-in instruction that allows me to
do that.
Thanks,
Rayson
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com