From nobody Mon Dec 25 14:12:18 2023 X-Original-To: ports-bugs@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 4SzKbl35kGz54lrW for ; Mon, 25 Dec 2023 14:12:19 +0000 (UTC) (envelope-from bugzilla-noreply@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 4SzKbl0JrTz3LP3 for ; Mon, 25 Dec 2023 14:12:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703513539; a=rsa-sha256; cv=none; b=nl4AFAI3mgDmn8xmWrWLK56yw1UA3DHLLp9BsaoStLEkdFadGZFOz28zQUAoKO2Rs+TCIp JDd++na865px1NMPfnLGYYdw1MbM1IZ0RGp8yr5TQjC7KvGiQU9Tl23e4FTBDtJCFU63/i /Cv9iSx9cg8+D+lbk04LrL7cSArI4ZM14gKlCfnNF6nGnQpazngpCLjuTP27kqg27yrGZ1 ABTHv4iei2O920Qs5Q1oC98Zn0plmBalpA4ItGq8mGBPuqyEoeoZORYXRQZcduZdtzH+Js LdISAOPSsvWiqUxuAidSqjAkFX9WSXzQmvvdVNa9LhP6z1XSX1UZSNBC/TlmfQ== 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=1703513539; 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=8D7LDgf6c1jE1oGvRknW3+FGpf7Zu9/8VBu2Fg9xa4o=; b=quS0nWf97FgwYBPGFeJjPAOPLS+FyQi/XwOb6gMzr6zh43UfESL4rO3A+IER0ctuS/INlT jufuaazf6K9QpDJICsDvLp5pwVlQlnnFlV/c4XBZdZ6OLGxZrXcyI3fiBBkQERpGVXtVpQ 9Ic0cQfqZ6GrEBt+qWvzg1auBLLN3u4WqwHIENX66uo18RbKgAxLY3dXL92YOkBURGO5zm tulBjZAJVzfM/czIsvJPlo0GtPNGh14ukVZZJbq3yESiGw8mP2T8z7GodmGVg6ut8OF1vE Al5fYrYsxEFckkol7mtgAueXq9nDcpwRn2wZBVI+BORPPVg8JSWHmCCotI6MiQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4SzKbk6WL7z95 for ; Mon, 25 Dec 2023 14:12:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BPECIqb080716 for ; Mon, 25 Dec 2023 14:12:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BPECIYe080714 for ports-bugs@FreeBSD.org; Mon, 25 Dec 2023 14:12:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275929] biology/plink: Add support for other architectures using SIMDE Date: Mon, 25 Dec 2023 14:12:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jwb@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275929 Bug ID: 275929 Summary: biology/plink: Add support for other architectures using SIMDE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jwb@freebsd.org CC: mzaki@e-mail.ne.jp Flags: maintainer-feedback?(mzaki@e-mail.ne.jp) CC: mzaki@e-mail.ne.jp FYI, you can easily support other platforms using SIMDE. The patches below were all that was needed, in addition to a math/simde dependency, to make p= link 1.9b6.17 work on Apple M1 via pkgsrc. $NetBSD$ # Support non-x86 --- SFMT.h.orig 2023-12-25 14:05:59.079320161 +0000 +++ SFMT.h @@ -129,7 +129,10 @@ extern "C" { 128-bit SIMD like data type for standard C ------------------------------------------*/ #ifdef __LP64__ - #include + // #include + #define SIMDE_ENABLE_NATIVE_ALIASES + #include + /** 128-bit data structure */ union W128_T { $NetBSD$ # Support non-x86 --- plink_common.h.orig 2023-12-25 14:02:07.377466789 +0000 +++ plink_common.h @@ -187,14 +187,9 @@ // http://esr.ibiblio.org/?p=3D5095 ). #ifdef __LP64__ - #ifndef __SSE2__ - // It's obviously possible to support this by writing 64-bit non-SSE2 = code - // shadowing each SSE2 intrinsic, but this almost certainly isn't worth the - // development/testing effort until regular PLINK 2.0 development is - // complete. No researcher has ever asked me for this feature. - #error "64-bit builds currently require SSE2. Try producing a 32-bit build instead." - #endif - #include +// #include + #define SIMDE_ENABLE_NATIVE_ALIASES + #include #define VECFTYPE __m128 #define VECITYPE __m128i --=20 You are receiving this mail because: You are the assignee for the bug.=