From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MbEi6-00059n-Tc for garchives@archives.gentoo.org; Wed, 12 Aug 2009 14:21:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03986E0436; Wed, 12 Aug 2009 14:21:47 +0000 (UTC) Received: from mail-yx0-f177.google.com (mail-yx0-f177.google.com [209.85.210.177]) by pigeon.gentoo.org (Postfix) with ESMTP id CEA1EE0436 for ; Wed, 12 Aug 2009 14:21:46 +0000 (UTC) Received: by yxe7 with SMTP id 7so47887yxe.32 for ; Wed, 12 Aug 2009 07:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=h4JUEVj7+yVG8l5wDC02OMeTs4Y+6iYs5+8wn9hvQF4=; b=RLuOdApYsXaC+NK9PWFEBy/UX9rw+OJ28vM7C8f1wMe15l+8ErTLAT4px6oIBjF2p0 XIElVq9lNtif6xL1eSXNCanQPGSemjNrAk8C2lrzadyS80lsdIatsD7QxIz6aA6Bfecc yglOgST5cmIGkCozncedp6GCGQSui+ILUHBFQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=oMd7S/Q1j4XG18TvURlClPUbrf8euctY13IPJiEyqH7ADieYXpPl5H7piGXotK8Bom E88ms0G2rr7agllbVEkEQgwLYMC/v7Zk/ljuBS54Ms5w1pLQdYVURI+ASFqE6O+AjTas vBxZQSYUkYhlfe/HDRlFojWx+jzIQ230OvITQ= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.150.164.19 with SMTP id m19mr251032ybe.330.1250086905105; Wed, 12 Aug 2009 07:21:45 -0700 (PDT) Date: Wed, 12 Aug 2009 10:21:45 -0400 Message-ID: <3ea34a000908120721q4ea2007bobe61748f447afab3@mail.gmail.com> Subject: [gentoo-embedded] pxa270 cflags? From: Christopher Friedt To: gentoo-embedded@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 2bd1f25c-dce5-4b2e-8124-0f136103e5fa X-Archives-Hash: 203a61c80909e9efe562e78cee15c65f Hi everyone, I'm just in the middle of compiling some applications in the media-video category for a pxa270 device, and I'm seeing a lot of spots where potential iWMMXT hardware speedups are not being used because I'm using CFLAGS="-march=armv5te -mtune=xscale". One person said, there is only a difference between -mcpu=xscale and -mcpu=iwmmxt when using OABI [1]. However, the -mtune=xscale flag does not properly process iwmmxt instructions [2]. Is -mcpu=xscale only for pre-iwmmxt pxa chips? Does anyone know exactly which CFLAGS should be used for a pxa270 chip? A binary compiled with -mcpu=iwmmxt still shows that it has version 4 EABI, which is fine for me. I just find it odd that XScale ISA is supposedly identical to armv5te aside from FP instructions [3], while gcc fails saying that "-march=armv5te -mtune=iwmmxt" is not kosher [4]. Chris [1] http://gcc.gnu.org/ml/gcc-help/2006-09/msg00061.html [2] int main(void) { __asm__ volatile ("wunpckelub wr6, wr4"); return 0; } [3] http://en.wikipedia.org/wiki/XScale [4] arm-softfloat-linux-gnueabi-gcc -pipe -march=armv5te -mtune=xscale -o test test.c {standard input}: Assembler messages: {standard input}:13: Error: selected processor does not support `wunpckelub wr6,wr4'