[LLVMdev] LLVM ERROR: No such instruction: `vmovsd ...' ?
Nicolas Ojeda Bar
nojb at math.harvard.edu
Fri Mar 18 14:56:33 PDT 2011
Hello,
I am running a i7 MacBook Pro 2011. If I write:
@g = global double 0.000000e+00
define i32 @main() {
entry:
%0 = load double* @g
%1 = fmul double 1.000000e+06, %0
store double %1, double* @g
ret i32 0
}
in test.ll and I run
> llc test.ll
> gcc test.s
I get:
test.s:12:no such instruction: `vmovsd _g(%rip), %xmm0'
test.s:13:no such instruction: `vmulsd LCPI0_0(%rip), %xmm0,%xmm0'
test.s:14:no such instruction: `vmovsd %xmm0, _g(%rip)'
I'm completely puzzled. Help?
Thanks!
N
More information about the llvm-dev
mailing list