From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26374 invoked by alias); 4 Jul 2002 06:17:11 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 26365 invoked from network); 4 Jul 2002 06:17:08 -0000 Received: from unknown (HELO websmtp03.sohu.com) (61.135.145.13) by sources.redhat.com with SMTP; 4 Jul 2002 06:17:08 -0000 Received: from mail.sohu.com (unknown [192.168.41.177]) by websmtp03.sohu.com (Postfix) with ESMTP id 5332168525 for ; Thu, 4 Jul 2002 14:11:35 +0800 (CST) Message-ID: <4473442.1025763425051.JavaMail.postfix@srv20.mail.sohu.com> Date: Wed, 03 Jul 2002 23:17:00 -0000 From: To: Mime-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 8bit X-SHIP: 61.175.193.146 Subject: [ECOS] code questions: X-SW-Source: 2002-07/txt/msg00031.txt.bz2 here is a assemble subroutine of PPC: #define HAL_LSBIT_INDEX(index, mask) \ asm ( "neg 11,%1;" \ "and 11,11,%1;" \ "cntlzw %0,11;" \ "subfic %0,%0,31;" \ : "=r" (index) \ : "r" (mask) \ : "r11" \ ); could you tell me means of such as %1,%0,:,"=r" and so on, and where to get more info? i search them in processor mannul and gnu toolkit to look for them,but failed. -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss