[LLVMdev] bsr not implemented?

Gunther Piez gpiez at web.de
Sat Apr 9 03:13:15 PDT 2011


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

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

More information about the llvm-dev mailing list