Re: i386: gcc & asm(): wrong constraint for "mull"

2000-12-29 Thread Ulrich Windl
On 29 Dec 2000, at 5:17, Jakub Jelinek wrote: > On Fri, Dec 29, 2000 at 10:54:38AM +0100, Ulrich Windl wrote: > > Hello, > > > > I noticed (with some inspiration from Andy Kleen) that some asm() > > instructions for the ia32 use the "g" constraint for "mull", where my > > Intel 386 Assembly La

Re: i386: gcc & asm(): wrong constraint for "mull"

2000-12-29 Thread Jakub Jelinek
On Fri, Dec 29, 2000 at 10:54:38AM +0100, Ulrich Windl wrote: > Hello, > > I noticed (with some inspiration from Andy Kleen) that some asm() > instructions for the ia32 use the "g" constraint for "mull", where my > Intel 386 Assembly Language Manual suggests the "MUL" instruction needs > an r/

i386: gcc & asm(): wrong constraint for "mull"

2000-12-29 Thread Ulrich Windl
Hello, I noticed (with some inspiration from Andy Kleen) that some asm() instructions for the ia32 use the "g" constraint for "mull", where my Intel 386 Assembly Language Manual suggests the "MUL" instruction needs an r/m operand. So I guess the correct constraint is "rm" in gcc, and not "g".