linux-csky.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guo Ren <guoren@kernel.org>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>,
	arnout@mind.be, linux-csky@vger.kernel.org,
	buildroot@buildroot.org, Guo Ren <ren_guo@c-sky.com>
Subject: Re: [PATCH V3 03/10] arch/csky: Add FLOAT_ABI compiler options
Date: Wed, 29 May 2019 16:30:43 +0800	[thread overview]
Message-ID: <CAJF2gTRb4W=ZUz4-WxPwzdaQMMo1suwPsxU47QeGdjfBvgs3og@mail.gmail.com> (raw)
In-Reply-To: <20190529095739.18d4d3c8@windsurf.home>

On Wed, May 29, 2019 at 3:57 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello,
>
> On Wed, 29 May 2019 15:30:14 +0800
> Guo Ren <guoren@kernel.org> wrote:
>
> > > What is abiv1 vs. abiv2 ? Also, in your next commit, abiv1 is
> > > apparently used for ck610, but here this BR2_GCC_TARGET_FLOAT_ABI is
> > > defined for all cases, which seems to contradict your commit log.
> > abiv1 contain: ck610
> > abiv2 contain: ck807 ck810 ck860
> >
> > Abiv1 is almost the same as mcore and it's ELF_CODE is 39
> > Abiv2 is C-SKY own ISA and it's ELF_CODE is 252
> >
> > We don't support FPU in abiv1, because its opcode width is only
> > 16-bits and we don't want to continue developing it.
>
> Ah, and indeed BR2_CSKY_FPU cannot be selected for BR2_ck610.
>
> Please explain all of this in the commit log. Thanks!
>
OK, change the commit log with:

C-SKY CPU is seperated into two ABIs:
 - abiv1: mcore based ELF_NUM:39 and do not support FPU & VDSP. (CPU: 610)
 - abiv2: C-SKY own ISA with ELF_NUM:252 and support FPU & VDSP. (CPU:
807, 810, 860)

So we don't care BR2_GCC_TARGET_FLOAT_ABI for abiv1, because it based
on CSKY_FPU and it'll
never be selected by ck610.

  reply	other threads:[~2019-05-29  8:31 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-29  7:18 [PATCH V3 00/10] Update arch/csky for buildroot guoren
2019-05-29  7:18 ` [PATCH V3 01/10] arch/csky: Use VDSP instead of DSP guoren
2019-05-29  7:21   ` Thomas Petazzoni
2019-05-29  7:30     ` Guo Ren
2019-05-29  7:56       ` Thomas Petazzoni
2019-05-29  8:12         ` Guo Ren
2019-05-29  8:38           ` Thomas Petazzoni
2019-05-29  9:02             ` Guo Ren
2019-05-29  9:06               ` Guo Ren
2019-05-29  9:23               ` Thomas Petazzoni
2019-05-29  9:45                 ` Guo Ren
2019-05-29 11:58                   ` Thomas Petazzoni
2019-05-29 12:34                     ` Guo Ren
2019-05-29  7:18 ` [PATCH V3 02/10] arch/csky: Add ck860 supported guoren
2019-05-29  7:18 ` [PATCH V3 03/10] arch/csky: Add FLOAT_ABI compiler options guoren
2019-05-29  7:23   ` Thomas Petazzoni
2019-05-29  7:30     ` Guo Ren
2019-05-29  7:57       ` Thomas Petazzoni
2019-05-29  8:30         ` Guo Ren [this message]
2019-05-29  8:39           ` Thomas Petazzoni
2019-05-29  8:53             ` Guo Ren
2019-05-29  7:39     ` Guo Ren
2019-05-29  7:18 ` [PATCH V3 04/10] arch/csky: Add ABI variable for toolchain build guoren
2019-05-29  7:18 ` [PATCH V3 05/10] package/binutils: Add C-SKY support guoren
2019-05-29  7:18 ` [PATCH V3 06/10] package/gcc: " guoren
2019-05-29  7:18 ` [PATCH V3 07/10] package/gdb: " guoren
2019-05-29  7:18 ` [PATCH V3 08/10] package/glibc: " guoren
2019-05-29  7:18 ` [PATCH V3 09/10] configs/qemu_cskyXXX_virt: new defconfig guoren
2019-05-29  7:18 ` [PATCH V3 10/10] arch/csky: Enable csky toolchain build guoren

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='CAJF2gTRb4W=ZUz4-WxPwzdaQMMo1suwPsxU47QeGdjfBvgs3og@mail.gmail.com' \
    --to=guoren@kernel.org \
    --cc=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=linux-csky@vger.kernel.org \
    --cc=ren_guo@c-sky.com \
    --cc=thomas.de_schampheleire@nokia.com \
    --cc=thomas.petazzoni@bootlin.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).