Thread (19 messages) flat view 19 messages, 7 authors, 2000-01-21

Re: Fwd: Re: still no accelerated X ($#!$*)

From: Benjamin Herrenschmidt <hidden>
Date: 2000-01-20 18:45:07

On Thu, Jan 20, 2000, David Edelsohn [off-list ref] wrote:
The "b" constraint should be associated with "base_addr", not with
"regindex":

asm("stwbrx %0,%1,%2": : "r"(regdata), "r"(regindex), "b"(base_addr));
Hum... I still have to check what gcc/ppc specific constraints are. But
in this specific case, it's the index who should not be assigned to r0.
Both base and regdata can be r0. So either I'm mising something, or the
"b" constraint is actually wrong semanticall, or we need yet-another
constraint for the index.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help