From nobody Mon Oct 09 07:41:47 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S3rZl1DWMz4wtBk; Mon, 9 Oct 2023 07:41:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S3rZk6xt1z3J2W; Mon, 9 Oct 2023 07:41:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696837311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=At+fnG7r6lxvg18r55TSitliiJ0eSMZauygRcypxFu8=; b=EYIgeCBdo9m9e4jAsH5GMFXnRMCTBh/kchsitA6F+9NTPKOr7nhMSJMk5cTnkoMcCw5iSK uyA36YhomQY0Wx0uvtVViQ0JYO9WMnZKy8aeyNbRC5BNUOlXXkVd7V2jLQ1JqQitc9Z4Zg k9wRe1XQAn3gD1+WZJpSvHABYTy6Wh1+20F4rB5l1WzdZafSsnLGHgK/Kqdb1w95cGnmqe 3Jrml364q+0jEKRbgjXydAk/REykTy7MLR6vU67V+BOqxSoDcEB6hTrx7kx0JYYfkiQ//I dKq0gYjYeKio/Ph6vJ+HX81Pqp4dRxf1Qc6k7LmSTYaxWBJyyipCVFNCfibAWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696837311; a=rsa-sha256; cv=none; b=a9cwrsdY4qagy359z/cD4L9+pFHZqDVXsfxxBV+wcwKfwXER3ARL2koCD/UJ96EjhLf1Xg 2MSjCZ0pK8Tm7dmUsvkZ6miUTN2YDr/YTLYRuypBsYsql1rWX4/I+SrLVzPlf0grhvgAK0 xvWGN+67I/9Ft4D01cvV6/y0yPxAYZhP55JGNOCaLRRi5geUJtqfDhUz8BtXicki0K/6wL WMQUdw8qn9lcvs/F9iCXvZxS+GxLA3tnjqg4XHVypKdzhJI4hHxYe3DdzJU6E3KZcGhPDg qR42Ao+hDZ3gNZsiZDpcckPsA0ov1DDI3K1aDTrUiUwl6YbBJBtb+oV0PY73qA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696837311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=At+fnG7r6lxvg18r55TSitliiJ0eSMZauygRcypxFu8=; b=xn8btsuRczq03JxHPY7liF8Q6Gkh92XRUUnJrJ5uAbv4pGSGYj9LG2BIvhkLG9XQNEMHVt DnILKSYfeRtBQNQvJvyqXCnh02GtfQIShXJLz7trM9HKZywWrKlLmLCyHzGMNkId7SmQbI xTR6TZ9lt5xxxZOxaASEmud9gBo3ojGclcfIT0knLVL/0/KSkPseJEcTaysLtb0ZEYXSUK UcZveRzt7fzrR1q63qJfPr3qrQAGB2KJlnuiDo5eNQaFu8uaRKqMjWWXDHr+SHsjeyz+Ur mCyk6/4NkECrWBRIYIp8kAS45d86z8NUL5fKfACovueurmJ++VmZIjRZ7cDybg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S3rZh0bpNzn8Q; Mon, 9 Oct 2023 07:41:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3997flRF020190; Mon, 9 Oct 2023 07:41:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3997fl2s020187; Mon, 9 Oct 2023 07:41:47 GMT (envelope-from git) Date: Mon, 9 Oct 2023 07:41:47 GMT Message-Id: <202310090741.3997fl2s020187@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 3dd02a0fe712 - main - audio/pulseaudio: fix build on armv7 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3dd02a0fe712c2b67ab0e15444d9fbb4f00b3817 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=3dd02a0fe712c2b67ab0e15444d9fbb4f00b3817 commit 3dd02a0fe712c2b67ab0e15444d9fbb4f00b3817 Author: Robert Clausecker AuthorDate: 2023-10-07 05:51:21 +0000 Commit: Robert Clausecker CommitDate: 2023-10-09 07:40:29 +0000 audio/pulseaudio: fix build on armv7 The inline assembly template modifier h is not supported by clang. With gcc, it prints a 128 bit NEON register as a pair of halves. Emulate its effect through the e and f modifiers, which are supported by both. Approved by: portmgr (build fix blanket) MFH: 2023Q4 --- audio/pulseaudio/files/patch-src_pulsecore_mix__neon.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/audio/pulseaudio/files/patch-src_pulsecore_mix__neon.c b/audio/pulseaudio/files/patch-src_pulsecore_mix__neon.c new file mode 100644 index 000000000000..08fc02b299f8 --- /dev/null +++ b/audio/pulseaudio/files/patch-src_pulsecore_mix__neon.c @@ -0,0 +1,13 @@ +--- src/pulsecore/mix_neon.c.orig 2023-10-07 05:45:10 UTC ++++ src/pulsecore/mix_neon.c +@@ -176,8 +176,8 @@ static void pa_mix2_ch4_s16ne_neon(pa_mix_info streams + int32x4_t sv0, sv1; + + __asm__ __volatile__ ( +- "vld1.s32 %h[sv0], [%[lin0]] \n\t" +- "vld1.s32 %h[sv1], [%[lin1]] \n\t" ++ "vld1.s32 {%e[sv0],%f[sv0]}, [%[lin0]] \n\t" ++ "vld1.s32 {%e[sv1],%f[sv1]}, [%[lin1]] \n\t" + : [sv0] "=w" (sv0), [sv1] "=w" (sv1) + : [lin0] "r" (streams[0].linear), [lin1] "r" (streams[1].linear) + : /* clobber list */