Re: [PATCH] parisc: fix out-of-register compiler error in ldcw inline assembler function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/15/2014 4:27 PM, Helge Deller wrote:
Hi Dave,

On 12/15/2014 10:25 PM, John David Anglin wrote:
On 12/15/2014 3:58 PM, Helge Deller wrote:
Do you mind sending a full patch to the list ?
Thought I did.  Was something missing?

A nice changelog and title for the patch...
I could copy over your comments from that patch, but maybe you want to rephrase it, so that it actually comes from you. You can send me the wording here in mail as well, then I'll put it together.
I think the email subject is fine for the title.

For the comment:

The __ldcw macro has a problem when its argument needs to be reloaded from
memory.  The output memory operand and the input register operand both need
to be reloaded using a register in class R1_REGS when generating 64-bit code. This fails because there's only a single register in the class. Instead, use a memory
clobber.  This also makes the __ldcw macro a compiler memory barrier.

Dave

--
John David Anglin    dave.anglin@xxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux