------- Comment #5 from hjl dot tools at gmail dot com  2009-05-12 16:42 -------
(In reply to comment #4)
> I'm actually running sparcv9-sun-solaris2.10 (the examples used x86 because
> more people know it and its asm is easier to read).
> 
> My use case is the following: I'm implementing high-performance 
> synchronization
> primitives and the compiler isn't generating good enough code -- partly 
> because
> it doesn't pipeline spinloops, and partly because it has no way to know what
> stuff is truly critical path and what just needs to happen "eventually."
> 

I think intrinsic is a better solution than inline asm statement for
this. If you find any x86 intrinsics are missing, please let me know.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40124

Reply via email to