From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys9lW-0000Rn-5R for qemu-devel@nongnu.org; Tue, 12 May 2015 08:58:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ys9lR-0001F3-3V for qemu-devel@nongnu.org; Tue, 12 May 2015 08:58:30 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:34991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys9lQ-0001Ev-VX for qemu-devel@nongnu.org; Tue, 12 May 2015 08:58:25 -0400 Received: by igbyr2 with SMTP id yr2so106273599igb.0 for ; Tue, 12 May 2015 05:58:24 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Peter Maydell Date: Tue, 12 May 2015 13:58:03 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [ARM]: Adding support for Cortex-M4 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aurelio remonda Cc: QEMU Developers On 12 May 2015 at 13:46, aurelio remonda wrote: > Im using lm3s6965evb stellaris board, trying to make it "work as an M4", i > would like to separate them, adding an dsp feature (i.e ARM_FEATURE_DSP) > could work? the problem is if this feature is added it has to be set on all > the cpus that use dsp instructions. You need to create a new Cortex-M4 CPU model, which can then set the correct feature switches for the instructions and functionality that that CPU has. If there's something that only exists on a subset of CPUs but which we're currently providing everywhere then we need to add a new feature bit and set it on the CPUs which have it but not the ones which don't. -- PMM