--- Comment #2 from zeev dot tarantov at gmail dot com 2008-09-12 14:24
---
Thank you so much and sorry for the spam in bugzilla. Is there anything like
lint that would have helped me understand the mistake, without actually
grokking the documentation?
--
http://gcc.gnu.org/bugzill
--- Comment #1 from ubizjak at gmail dot com 2008-09-12 14:13 ---
(In reply to comment #0)
> asm(
> " xorl %1, %1\n"
> " movl $0x12345678, %0\n"
> " bsrl %2, %0 ; setz %b1 "
> : "=r" (res), "=r" (resz)
> : "g" (val)
Use "q" constraint for operand 1. You will also need early