From: Helge Deller <deller@gmx.de>
To: John David Anglin <dave.anglin@bell.net>
Cc: linux-parisc@vger.kernel.org,
James Bottomley <James.Bottomley@HansenPartnership.com>
Subject: Re: [PATCH] parisc: fix out-of-register compiler error in ldcw inline assembler function
Date: Mon, 15 Dec 2014 21:58:36 +0100 [thread overview]
Message-ID: <548F4B7C.8060508@gmx.de> (raw)
In-Reply-To: <A73C80F5-1200-437F-9199-2B916E3457B4@bell.net>
Hi Dave,
On 12/14/2014 04:49 PM, John David Anglin wrote:
> On 21-Oct-14, at 3:46 PM, Helge Deller wrote:
>> Sometimes we face this compiler error:
>>
>> arch/parisc/include/asm/ldcw.h:39:2: error: can't find a register in class 'R1_REGS' while reloading 'asm'
>> __asm__ __volatile__(__LDCW " 0(%2),%0"...
>> note: in expansion of macro '__ldcw'
>> error: 'asm' operand has impossible constraints
>>
>
>
> Helge, could you test the attached patch. Updated comment in change explains the "memory"
> clobber. It's been lightly tested.
Your patch seems to do the right thing, and it's nicer.
I didn't faced any compiler issues with it, but still want to test it some more, but I think that's the best approach.
Do you mind sending a full patch to the list ?
Thanks,
Helge
next prev parent reply other threads:[~2014-12-15 20:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 19:46 [PATCH] parisc: fix out-of-register compiler error in ldcw inline assembler function Helge Deller
2014-10-21 20:01 ` John David Anglin
2014-12-10 23:08 ` Helge Deller
2014-12-14 15:49 ` John David Anglin
2014-12-15 20:58 ` Helge Deller [this message]
[not found] ` <BLU436-SMTP141439F4C676F97CF7D44EB976F0@phx.gbl>
[not found] ` <548F5251.4070708@gmx.de>
2014-12-15 21:45 ` John David Anglin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=548F4B7C.8060508@gmx.de \
--to=deller@gmx.de \
--cc=James.Bottomley@HansenPartnership.com \
--cc=dave.anglin@bell.net \
--cc=linux-parisc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox