DragonFly BSD
DragonFly kernel List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

"i386: Add CPU_HAS_SSE2" commit


From: Venkatesh Srinivas <me@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jan 2011 09:59:50 -0500

Hi,

I just saw commit cbc5d70e... , enabling MFENCE and SFENCE on SSE2 systems, rather than the earlier LOCK ADD [ESP], $0 for cpu_lfence and cpu_mfence.

When the Sun JVM folks were working, they found LOCK ADD was faster on Intel systems, by a substantial amount; on AMD systems LOCK ADD was the same speed as *FENCE, but "pipelined better", whatever that means:

http://blogs.sun.com/dave/resource/NHM-Pipeline-Blog-V2.txt

Perhaps this commit should be measured closely? I'd love to hear data either confirming or disagreeing with Dave Dice and the Sun JVM team...

Thanks,
-- vs


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]