DCD v0.5.0 with ldc2 error <inline asm>:40:2 invalid operand for instruction
Brian Schott via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Fri Feb 20 12:58:47 PST 2015
On Friday, 20 February 2015 at 15:55:00 UTC, Arjan wrote:
> LDC - the LLVM D compiler (99c1b9):
> based on DMD v2.066.1 and LLVM 3.2
> Default target: amd64-portbld-freebsd9.1
> Host CPU: core-avx-i
>
> error:
> ldc2 libdparse/src/std/d/lexer.d -Icontainers/src
> -Imsgpack-d/src -Ilibdparse/src -Isrc -J=. -O5 -release
> -od=objs -op -c
> <inline asm>:40:2: error: invalid operand for instruction
> pmovmskb %xmm7, %rax
> ^
> LLVM ERROR: Error parsing inline asm
>
> Is this a ldc2 issue or DCD issue?
I think it's actually an LLVM issue. I'm using a build of LDC
that uses LLVM 3.4 and I don't see this issue. XMM7 and RAX are
both valid operands for the PMOVMSKB instruction.
More information about the digitalmars-d-ldc
mailing list