This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH: Support MIPS II
- From: Benjamin Kosnik <bkoz at constant dot com>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 8 May 2002 11:20:23 -0500 (CDT)
- Subject: Re: PATCH: Support MIPS II
one file:
> #ifndef _BITS_ATOMICITY_H
>
> #ifdef _MIPS_ISA
>
> #include <sgidefs.h>
second file:
> #if _MIPS_ISA >= _MIPS_ISA_MIPS2
>
> #define _BITS_ATOMICITY_H 1
>
> asm for MIPS 2.
>
> #endif /* _MIPS_ISA >= _MIPS_ISA_MIPS2 */
>
> #endif /* !_MIPS_ISA */
>
generic file:
> #ifndef _BITS_ATOMICITY_H
>
> #define _BITS_ATOMICITY_H 1
>
> generic version
>
> #endif
>
see how i386/i486 are done.
-benjamin