From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19833 invoked by alias); 17 Sep 2008 18:47:34 -0000 Received: (qmail 19696 invoked by uid 48); 17 Sep 2008 18:46:13 -0000 Date: Wed, 17 Sep 2008 18:47:00 -0000 Message-ID: <20080917184613.19695.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code for powerpc In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rbuergel at web dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-09/txt/msg02066.txt.bz2 ------- Comment #3 from rbuergel at web dot de 2008-09-17 18:46 ------- > The second constraint should be using "b" instead of "r" as b says > don't use r0. Is this documented anywhere? The gcc manual says "r" means "any general purpose register" and "b" means "Address base register". Any Documentation (for example http://developer.apple.com/documentation/DeveloperTools/Reference/Assembler/PPCInstructions/chapter_6_section_2.html ) i've found, lists r0-r31 as general purpose registers. Anyway, ignoring this point, you seem to be right. I remember 4.3.1 using r6 instead of r0, probably that's why it works. Unfortunately, i can't check your suggestion until monday, when i'm back at work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37562