From: "H . J . Lu" <hjl@lucon.org>
To: Eric Christopher <echristo@redhat.com>
Cc: cgd@broadcom.com, linux-mips@oss.sgi.com
Subject: Re: linux.h patch for mips
Date: Fri, 24 May 2002 19:03:22 -0700 [thread overview]
Message-ID: <20020524190322.C10735@lucon.org> (raw)
In-Reply-To: <1022278283.25829.46.camel@ghostwheel.cygnus.com>; from echristo@redhat.com on Fri, May 24, 2002 at 03:11:23PM -0700
I will leave it to the Linux mips people. Any comments?
H.J.
---
On Fri, May 24, 2002 at 03:11:23PM -0700, Eric Christopher wrote:
> Hey, wanted to run this by you.
>
> I've noticed a tendency for the linux kernel people to test
> _MIPS_ISA_MIPSXX when writing defines for 32 v. 64 bit code in the asm
> headers (and other places). Personally I'd prefer they check something
> else like -D__mips_fpr=32/64, but it's not something I have time to fix
> in the kernel right now (and for gpr I'd have to define something new,
> which wouldn't be hard).
>
> Thought I'd check with you and see if you had any other ideas how better
> to do that kind of interface?
>
> -eric
>
> ps. I'm checking the following patch in momentarily to fix a problem I
> noticed.
>
> --
> I will not carve gods
>
> Index: linux.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/config/mips/linux.h,v
> retrieving revision 1.44
> diff -u -p -w -r1.44 linux.h
> --- linux.h 20 May 2002 17:11:53 -0000 1.44
> +++ linux.h 24 May 2002 21:56:01 -0000
> @@ -155,6 +155,8 @@ void FN () \
> %{mips2: -D_MIPS_ISA=_MIPS_ISA_MIPS2} \
> %{mips3: -D_MIPS_ISA=_MIPS_ISA_MIPS3} \
> %{mips4: -D_MIPS_ISA=_MIPS_ISA_MIPS4} \
> +%{mips32: -D_MIPS_ISA=_MIPS_ISA_MIPS32} \
> +%{mips64: -D_MIPS_ISA=_MIPS_ISA_MIPS64} \
> %{!mips*: -D_MIPS_ISA=_MIPS_ISA_MIPS1} \
> %{mabi=32: -D_MIPS_SIM=_MIPS_SIM_ABI32} \
> %{mabi=n32: -D_ABIN32=2 -D_MIPS_SIM=_ABIN32} \
next parent reply other threads:[~2002-05-25 2:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1022278283.25829.46.camel@ghostwheel.cygnus.com>
2002-05-25 2:03 ` H . J . Lu [this message]
2002-05-25 18:14 ` linux.h patch for mips Thiemo Seufer
2002-05-26 18:00 ` Eric Christopher
2002-05-26 18:29 ` Thiemo Seufer
2002-05-27 6:55 ` Eric Christopher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020524190322.C10735@lucon.org \
--to=hjl@lucon.org \
--cc=cgd@broadcom.com \
--cc=echristo@redhat.com \
--cc=linux-mips@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.