From nobody Fri May 05 14:20:23 2023 X-Original-To: dev-commits-src-all@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 4QCXs35PLyz49NpG; Fri, 5 May 2023 14:20:23 +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 4QCXs34yHpz3mFj; Fri, 5 May 2023 14:20:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683296423; 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=Im6pwkfixBrGqkmaFIYS+906cZhzsQU4xOBL9Cntn9U=; b=EQcj+YtmaOzUsgFUoxeVc4VBf3n7E8DV1El5PIry2SoHFobUElGzIwPJpV7O0hVznbCawv 0WX+obVtyWDyV2RaO67pBpCSMVh5OaEB2JUZxn5fLTZDrvxahHVAifY3/rJr0yHbf41LoJ XYKPO+Hm80O3cO35cOThB5xb1zKin/mZBLdbzenCOc2uCK8Ol8j7oWgvil2tioBJqhed4D u67jnjRy2rF2rNLtQLuUHMx0dH4jqfzmcO31rHAssl7mS54GN5kgHUHAiBgv/oKhJLND0a 26EcUPi08jaxTGN2k26tcMau36RhWi/mO4XrPfEVsxxaW5RoCbOQJ+Idda0ETA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683296423; 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=Im6pwkfixBrGqkmaFIYS+906cZhzsQU4xOBL9Cntn9U=; b=jPTOy9ITBW5XW5NeJwvVLukxGO4aNoijmuySVhzohFKl13nE4+lu7z9vjvUcc56IfuQay4 +z8OyKpxP7ZLmVETlwaUy3a6mWI4WIDphksphEyaQCZ5YO4uPNhBTAHB/umRjB7d8CYcj5 fVwX4nCjRPxRR3/p28IC7nN/H5jmN9082O9GBZozRwtqAzfw21Vh0Oz1Al3f12SMqkAj/R 3wBH+W4WLFSiw7jaJplc5D+JKyRGU/31w6EP/GgikpkbneE6LqDzjoQVugosLQViaKaq5u rWD14pPabGObRQEi9f4ToXeY3reUikhEL8xshGjV1LT2PRWTAZrAF/GW1Nu+Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683296423; a=rsa-sha256; cv=none; b=dIpXkXQfvfajCQ7oSJt4mPdmpLu8Ixg/LpwmfUMR92n9js5DhJPciY6s98AGjtT5SehWzi 08LHGd+Fh70V7yvCtjcyKqscgXmFA+V2nk+sO+ZeitOQkym3VxNolKUWvRM2XA9674kzmT 0koVrJyWnzhtUrYCdS9zru/hRiL99dvkGZmRH9p/SCc86KVYk8UAMxU1obPV8pCg61ebrQ forY8LJSxdEDKHijB9k6go17jzWuWICt223epajQNBd4wdANlQVdqrms5hEpgzBRxqRYNd qNXmhLDERNhWRP5iJF9R/hYf7HOy4BmnLzG8e0rAh8PSSCRXqgWAlz/jp8PXrQ== 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 4QCXs342S8zxnc; Fri, 5 May 2023 14:20:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 345EKNFC006849; Fri, 5 May 2023 14:20:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 345EKN03006848; Fri, 5 May 2023 14:20:23 GMT (envelope-from git) Date: Fri, 5 May 2023 14:20:23 GMT Message-Id: <202305051420.345EKN03006848@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Piotr Kubaj Subject: git: 448045e4a787 - main - share/mk/bsd.cpu.mk: add AltiVec / VSX to powerpc*'s MACHINE_CPU List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 448045e4a7873f4733cebda56df002acabb2aef1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/src/commit/?id=448045e4a7873f4733cebda56df002acabb2aef1 commit 448045e4a7873f4733cebda56df002acabb2aef1 Author: Piotr Kubaj AuthorDate: 2023-05-05 14:19:19 +0000 Commit: Piotr Kubaj CommitDate: 2023-05-05 14:20:28 +0000 share/mk/bsd.cpu.mk: add AltiVec / VSX to powerpc*'s MACHINE_CPU MFC after: 3 days Approved by: jhibbits Differential revision: https://reviews.freebsd.org/D39240 --- share/mk/bsd.cpu.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index dbd58a385b23..ba18204b9230 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -276,6 +276,25 @@ MACHINE_CPU += amd64 sse2 sse mmx . elif ${MACHINE_ARCH} == "powerpc" . if ${CPUTYPE} == "e500" MACHINE_CPU = booke softfp +. elif ${CPUTYPE} == "g4" +MACHINE_CPU = altivec +. endif +. elif ${MACHINE_ARCH} == "powerpc64" +. if ${CPUTYPE} == "e5500" +MACHINE_CPU = booke +. elif ${CPUTYPE} == power7 +MACHINE_CPU = altivec vsx +. elif ${CPUTYPE} == power8 +MACHINE_CPU = altivec vsx vsx2 +. elif ${CPUTYPE} == power9 +MACHINE_CPU = altivec vsx vsx2 vsx3 +. else +MACHINE_CPU = altivec +. endif +. elif ${MACHINE_ARCH} == "powerpc64le" +MACHINE_CPU = altivec vsx vsx2 +. if ${CPUTYPE} == power9 +MACHINE_CPU += vsx3 . endif ########## riscv . elif ${MACHINE_CPUARCH} == "riscv"