Friday, July 08, 2022

Re: build env vars

On Fri, 08 Jul 2022 22:09:23 +0200
jyfletcher@gmail.com wrote:

> Error: no such instruction: `vmovsd %xmm0,8(%rsp)'

Something is running /usr/bin/as, the old GNU assembler 2.17.
Try to assemble with /usr/bin/cc, because clang knows more
instructions. Instead of,

$ cat exam.s
vmovsd %xmm0, 8(%rsp)
$ as -o exam.o exam.s
exam.s: Assembler messages:
exam.s:1: Error: no such instruction: `vmovsd %xmm0,8(%rsp)'

try,

$ cc -c exam.s

No comments:

Post a Comment