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 Status Report (2004-03-09)


Ian Lance Taylor <ian@wasabisystems.com> writes:
> Paul Koning <pkoning@equallogic.com> writes:
>> Perhaps we need asm("":::"barrier")?
>
> Seconded.  For high performance device manipulation, it would be good
> to have a way to say "do not schedule instructions across this point"
> without also saying "clobber everything".

__builtin_fence() (possibly with an argument to request various sorts
of memory barriers that various architectures have) seems preferable
to me over asm()...

zw


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