From llvm-dev Sat Apr 09 10:13:15 2011 From: Gunther Piez Date: Sat, 09 Apr 2011 10:13:15 +0000 To: llvm-dev Subject: [LLVMdev] bsr not implemented? Message-Id: <4DA0313B.7010501 () web ! de> X-MARC-Message: https://marc.info/?l=llvm-dev&m=130235846620138 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