[LLVMdev] Clang error - CPU feature not currently enabled

Craig Topper craig.topper at gmail.com
Wed Nov 14 08:17:14 PST 2012


 I believe it's failing on 64-bit because that's a 32-bit indirect jump.
64-bit needs jmp *%rdx.

On Wednesday, November 14, 2012, Shaltiel, Alon wrote:

>  ** **
>
> ** **
>
> *From:* Shaltiel, Alon
> *Sent:* Wednesday, November 14, 2012 11:39 AM
> *To:* 'llvmdev at cs.uiuc.edu <javascript:_e({}, 'cvml',
> 'llvmdev at cs.uiuc.edu');>'
> *Subject:* Clang error - CPU feature not currently enabled****
>
> ** **
>
> Hello,****
>
> I’m trying to use clang to compile a file on Mac OS (x86_64) and get the
> following error.****
>
>  ****
>
> <inline asm>:4:2: error: instruction requires a CPU feature not currently
> enabled****
>
>         jmp *%edx ****
>
>         ^****
>
> fatal error: error in backend: Error parsing inline asm****
>
>  ****
>
> This file *does* compile on an Ubuntu 32bit machine****
>
>  ****
>
> I checked on google and didn’t find anything helpful about it.****
>
> Does anyone know what CPU feature this instruction requires?****
>
>  ****
>
> Thanks,****
>
> Alon****
>
> ** **
>
> PS****
>
> Sorry for the Subject mistake in the last email****
>
> ** **
>  ------------------------------
>
>
> This message is confidential and intended only for the addressee. If you
> have received this message in error, please immediately notify the
> postmaster at nds.com <javascript:_e({}, 'cvml', 'postmaster at nds.com');> and
> delete it from your system as well as any copies. The content of e-mails as
> well as traffic data may be monitored by NDS for employment and security
> purposes.
> To protect the environment please do not print this e-mail unless
> necessary.
>
> An NDS Group Limited company. www.nds.com****
>


-- 
~Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121114/4d0d19c4/attachment.html>


More information about the llvm-dev mailing list