From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpauth.hypersurf.com (smtpauth.hypersurf.com [209.237.0.8]) by ozlabs.org (Postfix) with ESMTP id 2731EDDF4D for ; Thu, 5 Jun 2008 05:38:06 +1000 (EST) Received: from [192.168.1.37] (node20.74.251.72.1dial.com [72.251.74.20]) (authenticated bits=0) by smtpauth.hypersurf.com (8.14.2/8.14.2) with ESMTP id m54JaMq9078411 for ; Wed, 4 Jun 2008 12:37:58 -0700 (PDT) Message-ID: <4846EEAE.3000908@hypersurf.com> Date: Wed, 04 Jun 2008 12:36:14 -0700 From: Kevin Diggs MIME-Version: 1.0 To: linuxppc-dev@ozlabs.org Subject: inline assembly Content-Type: text/plain; charset=ISO-8859-1; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, When doing inline assembly, is there a way to get the compiler to assign "extra" (one not specified for inputs and outputs) registers? In the following: __asm__ __volatile__ ( "addi 5,%1,-1\n" "andc 5,%1,5\n" "cntlzw 5,5\n" "subfic %0,5,31": "=r"(j): "r"(i) ); Can I get the compiler to choose a register for r5? kevin