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]

sh atomics config


When SH4a atomicity.h was added here:

http://gcc.gnu.org/ml/libstdc++-cvs/2004-q3/msg00209.html

I think it was done incorrectly. Specifically, it duplicates the
generic code when __SH4A__ is not defined: this is a no-no. There's
already been one update to merge in new generics code because this file
was not tracking changes. The solution is to re-do the config. I don't
see any commentary from library folks went in about this issue, but
perhaps I'm missing something. It was a long time ago.

I'd like to fix this up. In particular, I'd like to use some kind of
host_cpu based switch, sh4-* for instance. Seems too easy: is this
possible?

Also, can one of you two cc'd confirm that this is not applicable for
sh5 or sh64?

best,
-benjamin


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