[LLVMdev] [PATCH] x86/asm: avoid mnemonics without type suffix

Linus Torvalds torvalds at linux-foundation.org
Sun Jul 14 12:49:44 PDT 2013

On Sun, Jul 14, 2013 at 12:30 PM, Tim Northover <t.p.northover at gmail.com> wrote:
> I don't think you've actually tested that, have you? (x86-64)

Oh, you're right, for constants > 5 bits you have that other thing
going on. I didn't think about the fact that the constant changed in
the middle of the thread (it started out as 1).

We use the gcc constraint "I" (0-31) in the kernel for this reason.


More information about the llvm-dev mailing list