Open llvmbot opened 7 years ago
/*The following four functions from the current musl sources fail to compile for various reasons with the command line clang -target ppc64le-linux ppc.c The first two get
ppc.c:38:38: error: invalid output constraint '=ww' in asm asm ("xsmaxdp %x0, %x1, %x2" : "=ww"(x) : "ww"(x), "ww"(y)); ^ ppc.c:44:38: error: invalid output constraint '=ww' in asm asm ("xsmindp %x0, %x1, %x2" : "=ww"(x) : "ww"(x), "ww"(y)); ^
and the second two two get
ppc.c:52:12: error: invalid operand in inline asm: 'xsmaxdp ${0:x}, ${1:x}, ${2:x}' asm ("xsmaxdp %x0, %x1, %x2" : "=ws"(x) : "ws"(x), "ws"(y)); ^ ppc.c:52:12: error: invalid operand in inline asm: 'xsmaxdp ${0:x}, ${1:x}, ${2:x}' ppc.c:52:12: error: invalid operand in inline asm: 'xsmaxdp ${0:x}, ${1:x}, ${2:x}' ppc.c:52:12: error: unknown operand
@llvm/issue-subscribers-backend-powerpc
Author: None (llvmbot)
Extended Description
/*The following four functions from the current musl sources fail to compile for various reasons with the command line clang -target ppc64le-linux ppc.c The first two get
ppc.c:38:38: error: invalid output constraint '=ww' in asm asm ("xsmaxdp %x0, %x1, %x2" : "=ww"(x) : "ww"(x), "ww"(y)); ^ ppc.c:44:38: error: invalid output constraint '=ww' in asm asm ("xsmindp %x0, %x1, %x2" : "=ww"(x) : "ww"(x), "ww"(y)); ^
and the second two two get
ppc.c:52:12: error: invalid operand in inline asm: 'xsmaxdp ${0:x}, ${1:x}, ${2:x}' asm ("xsmaxdp %x0, %x1, %x2" : "=ws"(x) : "ws"(x), "ws"(y)); ^ ppc.c:52:12: error: invalid operand in inline asm: 'xsmaxdp ${0:x}, ${1:x}, ${2:x}' ppc.c:52:12: error: invalid operand in inline asm: 'xsmaxdp ${0:x}, ${1:x}, ${2:x}' ppc.c:52:12: error: unknown operand