[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-dev
Subject:    [LLVMdev] bsr not implemented?
From:       Gunther Piez <gpiez () web ! de>
Date:       2011-04-09 10:13:15
Message-ID: 4DA0313B.7010501 () web ! de
[Download RAW message or body]

Hello,

just trying to use the dragonegg plugin with gcc on my project.
Unfortunately I get an

/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/include/ia32intrin.h:170:35:
error: unsupported target builtin ‘__builtin_ia32_bsrdi’ used

error. I use (and need) the "bsr" (bit scan reverse) instruction. So it
seems it isn't implemented (yet). Can I safely use gcc inline assembly
instead? Are the some preprocessor macros defined while using dragonegg
so that I can conditionally compile?

- Gunther
_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic