[cfe-dev] error:instruction requires a CPU feature not currently enabled for pusha, popa, .code32, .code64,

Santosh Nagarakatte santosh.nagarakatte at gmail.com
Fri Nov 12 11:24:51 PST 2010


While compiling bitvisor-1.1 with clang, I am getting the following
errors. I am using clang from the trunk 118916 with x86_64 on linux.

I have filed a new bug report 8595

http://llvm.org/bugs/show_bug.cgi?id=8595

callrealmode.c:62:3: error: instruction requires a CPU feature not currently
enabled
                "push %%rax\n"
                ^
<inline asm>:30:1: note: instantiated into assembly here
pusha


callrealmode.c:62:3: error: warning: ignoring directive for now
                "push %%rax\n"
                ^
<inline asm>:40:1: note: instantiated into assembly here
.code64

callrealmode.c:62:3: error: instruction requires a CPU feature not currently
enabled
                "push %%rax\n"
                ^
<inline asm>:32:1: note: instantiated into assembly here
popa
^

Thanks,
Santosh


-- 
Santosh G Nagarakatte,
PhD Student,
Computer and Information Science Department
University of Pennsylvania,
Philadelphia-19104
http://www.cis.upenn.edu/~santoshn



More information about the cfe-dev mailing list