From: guoren at kernel.org <guoren@kernel.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH V4 02/11] arch/csky: Change DSP to VDSP for -mcpu
Date: Fri, 31 May 2019 14:38:59 +0800 [thread overview]
Message-ID: <1559284748-32011-3-git-send-email-guoren@kernel.org> (raw)
In-Reply-To: <1559284748-32011-1-git-send-email-guoren@kernel.org>
From: Guo Ren <ren_guo@c-sky.com>
DSP extention is no longer used for C-SKY gcc and use VDSP instead of
DSP.
VDSP is C-SKY enhanced extension instruction set for SIMD, AI and DSP
operation. It could be supported by abiv2 (ck807, ck810, ck860).
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
arch/Config.in.csky | 6 +++---
arch/arch.mk.csky | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/Config.in.csky b/arch/Config.in.csky
index 6d87681..3817a2d 100644
--- a/arch/Config.in.csky
+++ b/arch/Config.in.csky
@@ -23,9 +23,9 @@ config BR2_CSKY_FPU
Floating-Point Coprocessor or if you don't need FPU support
for your user-space programs.
-config BR2_CSKY_DSP
- bool "Enable DSP enhanced instructions"
- depends on BR2_ck810 || BR2_ck807
+config BR2_CSKY_VDSP
+ bool "Enable VDSP enhanced instructions Co-processor"
+ depends on BR2_CSKY_FPU
config BR2_ARCH
default "csky"
diff --git a/arch/arch.mk.csky b/arch/arch.mk.csky
index a39fbd4..f2c90eb 100644
--- a/arch/arch.mk.csky
+++ b/arch/arch.mk.csky
@@ -13,12 +13,12 @@ else ifeq ($(BR2_ck810),y)
GCC_TARGET_CPU := ck810
endif
-ifeq ($(BR2_CSKY_DSP),y)
-GCC_TARGET_CPU := $(GCC_TARGET_CPU)e
-endif
-
ifeq ($(BR2_CSKY_FPU),y)
GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
endif
+ifeq ($(BR2_CSKY_VDSP),y)
+GCC_TARGET_CPU := $(GCC_TARGET_CPU)v
+endif
+
endif
--
2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: guoren@kernel.org
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>,
arnout@mind.be
Cc: linux-csky@vger.kernel.org, buildroot@buildroot.org,
Guo Ren <ren_guo@c-sky.com>
Subject: [PATCH V4 02/11] arch/csky: Change DSP to VDSP for -mcpu
Date: Fri, 31 May 2019 14:38:59 +0800 [thread overview]
Message-ID: <1559284748-32011-3-git-send-email-guoren@kernel.org> (raw)
In-Reply-To: <1559284748-32011-1-git-send-email-guoren@kernel.org>
From: Guo Ren <ren_guo@c-sky.com>
DSP extention is no longer used for C-SKY gcc and use VDSP instead of
DSP.
VDSP is C-SKY enhanced extension instruction set for SIMD, AI and DSP
operation. It could be supported by abiv2 (ck807, ck810, ck860).
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
arch/Config.in.csky | 6 +++---
arch/arch.mk.csky | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/Config.in.csky b/arch/Config.in.csky
index 6d87681..3817a2d 100644
--- a/arch/Config.in.csky
+++ b/arch/Config.in.csky
@@ -23,9 +23,9 @@ config BR2_CSKY_FPU
Floating-Point Coprocessor or if you don't need FPU support
for your user-space programs.
-config BR2_CSKY_DSP
- bool "Enable DSP enhanced instructions"
- depends on BR2_ck810 || BR2_ck807
+config BR2_CSKY_VDSP
+ bool "Enable VDSP enhanced instructions Co-processor"
+ depends on BR2_CSKY_FPU
config BR2_ARCH
default "csky"
diff --git a/arch/arch.mk.csky b/arch/arch.mk.csky
index a39fbd4..f2c90eb 100644
--- a/arch/arch.mk.csky
+++ b/arch/arch.mk.csky
@@ -13,12 +13,12 @@ else ifeq ($(BR2_ck810),y)
GCC_TARGET_CPU := ck810
endif
-ifeq ($(BR2_CSKY_DSP),y)
-GCC_TARGET_CPU := $(GCC_TARGET_CPU)e
-endif
-
ifeq ($(BR2_CSKY_FPU),y)
GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
endif
+ifeq ($(BR2_CSKY_VDSP),y)
+GCC_TARGET_CPU := $(GCC_TARGET_CPU)v
+endif
+
endif
--
2.7.4
next prev parent reply other threads:[~2019-05-31 6:38 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 6:38 [Buildroot] [PATCH V4 00/11] Update arch/csky for buildroot guoren at kernel.org
2019-05-31 6:38 ` guoren
2019-05-31 6:38 ` [Buildroot] [PATCH V4 01/11] arch/csky: Add arch.mk.csky for -mcpu=xxx guoren at kernel.org
2019-05-31 6:38 ` guoren
2019-05-31 6:38 ` guoren at kernel.org [this message]
2019-05-31 6:38 ` [PATCH V4 02/11] arch/csky: Change DSP to VDSP for -mcpu guoren
2019-05-31 21:04 ` [Buildroot] " Thomas Petazzoni
2019-05-31 21:04 ` Thomas Petazzoni
2019-05-31 6:39 ` [Buildroot] [PATCH V4 03/11] arch/csky: Add ck860 supported guoren at kernel.org
2019-05-31 6:39 ` guoren
2019-05-31 6:39 ` [Buildroot] [PATCH V4 04/11] arch/csky: Add FLOAT_ABI compiler options guoren at kernel.org
2019-05-31 6:39 ` guoren
2019-05-31 6:39 ` [Buildroot] [PATCH V4 05/11] arch/csky: Add ABI variable for toolchain build guoren at kernel.org
2019-05-31 6:39 ` guoren
2019-05-31 6:39 ` [Buildroot] [PATCH V4 06/11] package/binutils: Add C-SKY support guoren at kernel.org
2019-05-31 6:39 ` guoren
2019-05-31 6:39 ` [Buildroot] [PATCH V4 07/11] package/gcc: " guoren at kernel.org
2019-05-31 6:39 ` guoren
2019-05-31 6:39 ` [Buildroot] [PATCH V4 08/11] package/gdb: " guoren at kernel.org
2019-05-31 6:39 ` guoren
2019-05-31 21:05 ` [Buildroot] " Thomas Petazzoni
2019-05-31 21:05 ` Thomas Petazzoni
2019-05-31 6:39 ` [Buildroot] [PATCH V4 09/11] package/glibc: " guoren at kernel.org
2019-05-31 6:39 ` guoren
2019-05-31 6:39 ` [Buildroot] [PATCH V4 10/11] configs/qemu_cskyXXX_virt: new defconfig guoren at kernel.org
2019-05-31 6:39 ` guoren
2019-05-31 21:09 ` [Buildroot] " Thomas Petazzoni
2019-05-31 21:09 ` Thomas Petazzoni
2019-06-01 1:19 ` Guo Ren
2019-05-31 6:39 ` [Buildroot] [PATCH V4 11/11] arch/csky: Enable csky toolchain build guoren at kernel.org
2019-05-31 6:39 ` guoren
2019-05-31 21:03 ` [Buildroot] [PATCH V4 00/11] Update arch/csky for buildroot Thomas Petazzoni
2019-05-31 21:03 ` Thomas Petazzoni
2019-06-01 0:53 ` Guo Ren
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=1559284748-32011-3-git-send-email-guoren@kernel.org \
--to=guoren@kernel.org \
--cc=buildroot@busybox.net \
/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.