[lkml]   [2000]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjecti386: gcc & asm(): wrong constraint for "mull"

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". That change identical assembly output for gcc-2.95.2, but some
gcc-2.96.x will try a multiplication with an immediate (constant)
operand for the "g" constarint, and the as will choke on that.
(Redhat 7.0 ships such a version of gcc).

As I won't be online next week, let me say
regards and a good new year to all!


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.030 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site