This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] |
On Fri, Apr 18, 2008 at 10:51:33AM -0700, David Daney wrote:At this point I don't really have an opinion as to how to fix the problem. One thought that comes to mind is to change the definition of atomic_flag so that the size of the atomic variable is appropriate for the target architecture (32 bits in the case of MIPS)
Best is to add support for the 8 and 16-bit sync builtins. See e.g. sparc or s390 backends how it can be done using 32-bit compare and swap instruction.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |