linux-mips
[Top] [All Lists]

Re: [PATCH v2] MIPS: dsp: Add assembler support for DSP ASEs.

To: "Steven J. Hill" <sjhill@mips.com>
Subject: Re: [PATCH v2] MIPS: dsp: Add assembler support for DSP ASEs.
From: Jonas Gorski <jogo@openwrt.org>
Date: Sun, 16 Dec 2012 12:42:05 +0100
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <1355547967-13779-1-git-send-email-sjhill@mips.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1355547967-13779-1-git-send-email-sjhill@mips.com>
Sender: linux-mips-bounce@linux-mips.org
On 15 December 2012 06:06, Steven J. Hill <sjhill@mips.com> wrote:
> (snip)
> diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
> index 33a96a9..c3c8cba 100644
> --- a/arch/mips/kernel/Makefile
> +++ b/arch/mips/kernel/Makefile
> @@ -98,4 +98,31 @@ obj-$(CONFIG_HW_PERF_EVENTS) += perf_event_mipsxx.o
>
>  obj-$(CONFIG_JUMP_LABEL)       += jump_label.o
>
> +#
> +# DSP ASE supported for MIPS32 or MIPS64 Release 2 cores only
> +#
> +ifeq ($(CONFIG_CPU_MIPSR2), y)
> +CFLAGS_DSP                     = -DHAVE_AS_DSP

24K (non-E) is MIPS32r2, but not not implement any DSP ASEs, is this a
problem here?


Jonas

<Prev in Thread] Current Thread [Next in Thread>