Shaltiel, Alon
2012-Nov-14 09:41 UTC
[LLVMdev] Clang error - CPU feature not currently enabled
From: Shaltiel, Alon
Sent: Wednesday, November 14, 2012 11:39 AM
To: '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<mailto: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<http://www.nds.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20121114/ff289e37/attachment.html>
Craig Topper
2012-Nov-14 16:17 UTC
[LLVMdev] Clang error - CPU feature not currently enabled
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>
Eric Christopher
2012-Nov-14 16:41 UTC
[LLVMdev] Clang error - CPU feature not currently enabled
Most likely candidate for sure. Not a helpful error message though :( -eric On Wed, Nov 14, 2012 at 8:17 AM, Craig Topper <craig.topper at gmail.com>wrote:> 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' >> *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 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 > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121114/ae01bb92/attachment.html>