From owner-freebsd-arm@FreeBSD.ORG Wed Jun 27 14:54:14 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF2401065672 for ; Wed, 27 Jun 2012 14:54:14 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 8BBF38FC08 for ; Wed, 27 Jun 2012 14:54:14 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q5REsDHg043087 for arm@freebsd.org; Wed, 27 Jun 2012 14:54:13 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 3s36f53b8rfiyra49wa345jxfs; for arm@freebsd.org; Wed, 27 Jun 2012 14:54:13 +0000 (UTC) (envelope-from kientzle@freebsd.org) From: Tim Kientzle Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 27 Jun 2012 07:54:12 -0700 Message-Id: <89746F7B-6B93-4112-8C32-D659E579CFAF@freebsd.org> To: arm@freebsd.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Cc: Subject: Default processor for armv6? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 14:54:14 -0000 I'm filling in configuration so that an arm/armv6 build configures GCC with a suitable default. But I'm having some trouble figuring out what that default should be. = These are the ARMv6 processors supported by the in-tree GCC: /* V6 Architecture Processors */ ARM_CORE("arm1136j-s", arm1136js, 6J, FL_LDSCHED, 9e) ARM_CORE("arm1136jf-s", arm1136jfs, 6J, FL_LDSCHED | FL_VFPV2, 9e) ARM_CORE("arm1176jz-s", arm1176jzs, 6ZK, FL_LDSCHED, 9e) ARM_CORE("arm1176jzf-s", arm1176jzfs, 6ZK, FL_LDSCHED | FL_VFPV2, 9e) ARM_CORE("mpcorenovfp", mpcorenovfp, 6K, FL_LDSCHED, 9e) ARM_CORE("mpcore", mpcore, 6K, FL_LDSCHED | FL_VFPV2, 9e) I had picked arm1136j-s originally, since that seems to be the earliest = ARMv6 processor supported here. My question: Does an arm1136j-s require ARM_TP_ADDRESS? In particular, asmacros.h uses an ARMv6K "clrex" instruction on = processors that don't use ARM_TP_ADDRESS, which implies that = ARM_TP_ADDRESS would be needed on the arm1136j-s. So maybe the armv6 = tree should default to the arm1176jz-s instead? Can anyone give me some pointers to help unravel what processors require = ARM_TP_ADDRESS? Tim