This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: CRIS port, part 4: libstdc++-v3 parts
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Subject: Re: CRIS port, part 4: libstdc++-v3 parts
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 29 Sep 2001 18:10:04 +0200
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <200109291554.RAA26164@ignucius.axis.se>
Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
| Greatly helped by porting.texi. Note that the default value for
| __glibcpp_long_double_bits is 128,
Yes, I know :-)
| which seems counter to most
| targets, including CRIS, where "long double" is just an alias
| for double.
OK. But, __glibcpp_long_double_bits is 128 on solaris for example.
| Ok to commit?
|
| Part 4, libstdc++-v3 port bits:
|
| * configure.target (LIMITSH): Set for cris.
| (cpu_include_dir): Set for cris-*-*.
| * config/cpu/cris/bits/atomicity.h: New file.
| * config/cpu/cris/bits/limits.h: New file.
Argh, this reminds me I should rename bits/limits.h to
bits/cpu-limits.h
Please check it in, I'll do the renaming latter.
[...]
| + __exchange_and_add (_Atomic_word* __mem, int __val)
I don't know whether this is really needed.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com