[llvm-commits] [llvm] r71973 - in /llvm/trunk: LICENSE.TXT include/llvm/System/Atomic.h
Chris Lattner
clattner at apple.com
Sun May 17 12:18:43 PDT 2009
On May 16, 2009, at 9:57 PM, Owen Anderson wrote:
> Author: resistor
> Date: Sat May 16 23:57:54 2009
> New Revision: 71973
>
> URL: http://llvm.org/viewvc/llvm-project?rev=71973&view=rev
> Log:
> Significantly improve Atomic.h by pulling in code from libatomic_ops
> by HP. This is a little outdated, but reasonably complete.
Owen, why not take a much much simpler approach: just enable multi-
threading capabilities when built with a compiler that has GCC 4.2
atomics support. There will always be architectures that we don't
have multithreading support for, so we have to have the "sorry you
don't have multithread support enabled" code-path.
If we start with something simple, then people can do the porting to
new architectures as they need. Starting with "just gcc 4.2+" is a
very simple and clear thing and is also very easy to communicate to
people. It also doesn't need autoconf support :-)
-Chris
More information about the llvm-commits
mailing list