public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Antonio Trande <sagitter@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/openms] main: Release 3.6.0
Date: Thu, 26 Nov 2026 10:29:18 GMT [thread overview]
Message-ID: <179568895893.1.4008032013782960217.rpms-openms-8f7f646009ca@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/openms
Branch : main
Commit : 8f7f646009cae9b84702b22c07ac6507674da342
Author : Antonio Trande <sagitter@fedoraproject.org>
Date : 2026-11-26T11:29:02+01:00
Stats : +6/-907 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/openms/c/8f7f646009cae9b84702b22c07ac6507674da342?branch=main
Log:
Release 3.6.0
---
diff --git a/.gitignore b/.gitignore
index eee1338..3e36f72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@
/OpenMS-release-3.4.1.tar.gz
/OpenMS-b886c44b4ca0625932f9874613918856774cfd8d.tar.gz
/OpenMS-91afebf7e1dc7a0ea078cafc3ccd393e633e9e1e.tar.gz
+/OpenMS-3.6.0.tar.gz
diff --git a/openms-3.5.0-bug7907.patch b/openms-3.5.0-bug7907.patch
deleted file mode 100644
index 6825529..0000000
--- a/openms-3.5.0-bug7907.patch
+++ /dev/null
@@ -1,890 +0,0 @@
-From 58ed8c30552308d6012e5ebd8a362e27f4887696 Mon Sep 17 00:00:00 2001
-From: FreezB11 <yashrajrao4@gmail.com>
-Date: Mon, 23 Jun 2025 23:35:20 +0000
-Subject: [PATCH 1/5] ppc64le support
-
----
- src/openms/include/OpenMS/FORMAT/Vec.h | 90 ++++++++++++
- src/openms/source/FORMAT/Base64.cpp | 194 ++++++++++++-------------
- 2 files changed, 181 insertions(+), 103 deletions(-)
- create mode 100644 src/openms/include/OpenMS/FORMAT/Vec.h
-
-diff --git a/src/openms/include/OpenMS/FORMAT/Vec.h b/src/openms/include/OpenMS/FORMAT/Vec.h
-new file mode 100644
-index 00000000000..107ef8649cc
---- /dev/null
-+++ b/src/openms/include/OpenMS/FORMAT/Vec.h
-@@ -0,0 +1,90 @@
-+#pragma once
-+#include <simde/x86/sse2.h> // or the lowest needed header
-+
-+class Vec128 {
-+public:
-+ simde__m128i val;
-+
-+ Vec128() = default;
-+ Vec128(simde__m128i v) : val(v) {}
-+ Vec128(const Vec128& other) = default;
-+ simde__m128i& raw() { return val; }
-+ const simde__m128i& raw() const { return val; }
-+
-+ // Conversion to simde__m128i
-+ operator simde__m128i() const { return val; }
-+
-+ // Bitwise AND
-+ Vec128 operator&(const Vec128& other) const {
-+ return Vec128(simde_mm_and_si128(val, other.val));
-+ }
-+
-+ Vec128& operator&=(const Vec128& other) {
-+ val = simde_mm_and_si128(val, other.val);
-+ return *this;
-+ }
-+
-+ // Bitwise OR
-+ Vec128 operator|(const Vec128& other) const {
-+ return Vec128(simde_mm_or_si128(val, other.val));
-+ }
-+
-+ Vec128& operator|=(const Vec128& other) {
-+ val = simde_mm_or_si128(val, other.val);
-+ return *this;
-+ }
-+
-+ // Bitwise XOR
-+ Vec128 operator^(const Vec128& other) const {
-+ return Vec128(simde_mm_xor_si128(val, other.val));
-+ }
-+
-+ Vec128& operator^=(const Vec128& other) {
-+ val = simde_mm_xor_si128(val, other.val);
-+ return *this;
-+ }
-+
-+ // Arithmetic Add
-+ Vec128 operator+(const Vec128& other) const {
-+ return Vec128(simde_mm_add_epi8(val, other.val));
-+ }
-+
-+ // Arithmetic Sub
-+ Vec128 operator-(const Vec128& other) const {
-+ return Vec128(simde_mm_sub_epi8(val, other.val));
-+ }
-+ // Left shift by constant
-+ Vec128 slli_epi32(int imm) const {
-+ return Vec128(simde_mm_slli_epi32(val, imm));
-+ }
-+
-+ // Right shift by constant
-+ Vec128 srli_epi32(int imm) const {
-+ return Vec128(simde_mm_srli_epi32(val, imm));
-+ }
-+
-+ // Shuffle (requires SSSE3)
-+ Vec128 shuffle_epi8(const Vec128& mask) const {
-+ return Vec128(simde_mm_shuffle_epi8(val, mask.val));
-+ }
-+
-+ // Comparison (less than, returns mask)
-+ static Vec128 cmplt_epi8(const Vec128& a, const Vec128& b) {
-+ return Vec128(simde_mm_cmplt_epi8(a.val, b.val));
-+ }
-+
-+ // Equality
-+ static Vec128 cmpeq_epi8(const Vec128& a, const Vec128& b) {
-+ return Vec128(simde_mm_cmpeq_epi8(a.val, b.val));
-+ }
-+
-+ // And-not
-+ static Vec128 andnot_si128(const Vec128& a, const Vec128& b) {
-+ return Vec128(simde_mm_andnot_si128(a.val, b.val));
-+ }
-+ // Bitwise ANDNOT
-+ static Vec128 andnot(const Vec128& a, const Vec128& b) {
-+ return Vec128(simde_mm_andnot_si128(a.val, b.val));
-+ }
-+ // Optional: shift and other operators can be added similarly
-+};
-diff --git a/src/openms/source/FORMAT/Base64.cpp b/src/openms/source/FORMAT/Base64.cpp
-index b3c37ddda30..8fcfd5d2374 100644
---- a/src/openms/source/FORMAT/Base64.cpp
-+++ b/src/openms/source/FORMAT/Base64.cpp
-@@ -1,119 +1,104 @@
- // Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
- // SPDX-License-Identifier: BSD-3-Clause
--//
--// --------------------------------------------------------------------------
--// $Maintainer: Timo Sachsenberg $
--// $Authors: Marc Sturm, Chris Bielow, Moritz Aubermann $
--// --------------------------------------------------------------------------
-+
-+#pragma once
-
- #include <OpenMS/FORMAT/Base64.h>
- #include <OpenMS/SYSTEM/SIMDe.h>
-+#include <OpenMS/FORMAT/Vec.h>
-
- using namespace std;
-
- namespace OpenMS
- {
-- const simde__m128i mask1_ = simde_mm_set1_epi32(0x3F000000); // 00111111 00000000 00000000 00000000
-- const simde__m128i mask2_ = simde_mm_set1_epi32(0x003F0000); // 00000000 00111111 00000000 00000000
-- const simde__m128i mask3_ = simde_mm_set1_epi32(0x00003F00); // 00000000 00000000 00111111 00000000
-- const simde__m128i mask4_ = simde_mm_set1_epi32(0x0000003F); // 00000000 00000000 00000000 00111111
--
-- const simde__m128i mask1d_ = simde_mm_set1_epi32(0xFF000000); // 11111111 00000000 00000000 00000000
-- const simde__m128i mask2d_ = simde_mm_set1_epi32(0x00FF0000); // 00000000 11111111 00000000 00000000
-- const simde__m128i mask3d_ = simde_mm_set1_epi32(0x0000FF00); // 00000000 00000000 11111111 00000000
-- const simde__m128i mask4d_ = simde_mm_set1_epi32(0x000000FF); // 00000000 00000000 00000000 11111111
--
-- // difference between base64 encoding and ascii encoding, used to cast from base64 binaries to characters
--
-- const simde__m128i difference_A_ = simde_mm_set1_epi8('A');
-- const simde__m128i difference_a_ = simde_mm_set1_epi8('a' - 26);
-- const simde__m128i difference_0_ = simde_mm_set1_epi8('0' - 52);
-- const simde__m128i difference_plus_ = simde_mm_set1_epi8('+');
-- const simde__m128i difference_slash_ = simde_mm_set1_epi8('/');
--
-- const simde__m128i shuffle_mask_1_ = simde_mm_setr_epi8(2, 2, 1, 0, 5, 5, 4, 3, 8, 8, 7, 6, 11, 11, 10, 9);
-- const simde__m128i shuffle_mask_2_ = simde_mm_setr_epi8(3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8, 15, 14, 13, 12);
--
-- const simde__m128i shuffle_mask_big_endian_ = simde_mm_setr_epi8(0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9, 10, 11, 11);
-- // second shuffle doesnt need to happen
--
-- // decoding shuffle masks:
-- // shuffle_mask_2 gets used
-- const simde__m128i shuffle_mask_d_2_ = simde_mm_setr_epi8(3, 2, 1, 7, 6, 5, 11, 10, 9, 15, 14, 13, 0, 4, 8, 12);
-+ const Vec128 mask1_ = simde_mm_set1_epi32(0x3F000000);
-+ const Vec128 mask2_ = simde_mm_set1_epi32(0x003F0000);
-+ const Vec128 mask3_ = simde_mm_set1_epi32(0x00003F00);
-+ const Vec128 mask4_ = simde_mm_set1_epi32(0x0000003F);
-+
-+ const Vec128 mask1d_ = simde_mm_set1_epi32(0xFF000000);
-+ const Vec128 mask2d_ = simde_mm_set1_epi32(0x00FF0000);
-+ const Vec128 mask3d_ = simde_mm_set1_epi32(0x0000FF00);
-+ const Vec128 mask4d_ = simde_mm_set1_epi32(0x000000FF);
-+
-+ const Vec128 difference_A_ = simde_mm_set1_epi8('A');
-+ const Vec128 difference_a_ = simde_mm_set1_epi8('a' - 26);
-+ const Vec128 difference_0_ = simde_mm_set1_epi8('0' - 52);
-+ const Vec128 difference_plus_ = simde_mm_set1_epi8('+');
-+ const Vec128 difference_slash_ = simde_mm_set1_epi8('/');
-+
-+ const Vec128 shuffle_mask_1_ = simde_mm_setr_epi8(2, 2, 1, 0, 5, 5, 4, 3, 8, 8, 7, 6, 11, 11, 10, 9);
-+ const Vec128 shuffle_mask_2_ = simde_mm_setr_epi8(3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8, 15, 14, 13, 12);
-+ const Vec128 shuffle_mask_big_endian_ = simde_mm_setr_epi8(0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9, 10, 11, 11);
-+ const Vec128 shuffle_mask_d_2_ = simde_mm_setr_epi8(3, 2, 1, 7, 6, 5, 11, 10, 9, 15, 14, 13, 0, 4, 8, 12);
-
-- /// Encode the first 12 bytes of a 128 bit simde integer type to base64
-- void registerEncoder_(simde__m128i& data)
-+ void registerEncoder_(Vec128& data_raw)
- {
-- if constexpr (!OPENMS_IS_BIG_ENDIAN)
-- {
-- data = simde_mm_shuffle_epi8(data, shuffle_mask_1_);
-- // by shuffling every 3 8bit ASCII Letters now take up 4 bytes, "ABC" gets shuffled to "CCBA" to match the 4 bytes of the Base64 Encoding, and deal with little Endianness.
-- }
-- else
-- {
-- data = simde_mm_shuffle_epi8(data, shuffle_mask_big_endian_);
-- }
-- // shifting and masking data, so now every 6 bit of the ASCII encoding have their own byte.
-- // shifting over 32 bits takes endianness into account, which needs to be accounted for when shuffeling
-- data = (simde_mm_srli_epi32(data, 2) & mask1_) | (simde_mm_srli_epi32(data, 4) & mask2_) | (simde_mm_srli_epi32(data, 6) & mask3_) | (data & mask4_);
-+ Vec128 data(data_raw);
-
-- if constexpr (!OPENMS_IS_BIG_ENDIAN) // otherwise the data already is ordered correctly
-- {
-- data = simde_mm_shuffle_epi8(data, shuffle_mask_2_);
-- }
-+ data = (!OPENMS_IS_BIG_ENDIAN ? data.shuffle_epi8(shuffle_mask_1_) : data.shuffle_epi8(shuffle_mask_big_endian_));
-+
-+ data = (data.srli_epi32(2) & mask1_) | (data.srli_epi32(4) & mask2_) |
-+ (data.srli_epi32(6) & mask3_) | (data & mask4_);
-+
-+ if (!OPENMS_IS_BIG_ENDIAN)
-+ data = data.shuffle_epi8(shuffle_mask_2_);
-
-- // masking data and adding/substracting to match base64 codes to fitting characters
-- simde__m128i capital_mask = simde_mm_cmplt_epi8(data, simde_mm_set1_epi8(26)); // (a < b) ? 0xFF : 0x00
-- simde__m128i all_mask = capital_mask;
-- simde__m128i lower_case_mask = simde_mm_andnot_si128(all_mask, simde_mm_cmplt_epi8(data, simde_mm_set1_epi8(52))); // not allMask and b where b is 0xFF if binaries are smaller than 52
-+ Vec128 capital_mask = Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8(26)));
-+ Vec128 all_mask = capital_mask;
-+
-+ Vec128 lower_case_mask = Vec128::andnot(all_mask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8(52))));
- all_mask |= lower_case_mask;
-- simde__m128i number_mask = simde_mm_andnot_si128(all_mask, simde_mm_cmplt_epi8(data, simde_mm_set1_epi8(62)));
-+
-+ Vec128 number_mask = Vec128::andnot(all_mask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8(62))));
- all_mask |= number_mask;
-- simde__m128i plus_mask = simde_mm_andnot_si128(all_mask, simde_mm_cmplt_epi8(data, simde_mm_set1_epi8(63)));
-+
-+ Vec128 plus_mask = Vec128::andnot(all_mask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8(63))));
- all_mask |= plus_mask;
-- simde__m128i& slash_negative_mask = all_mask;
-
-- data = (capital_mask & simde_mm_add_epi8(data, difference_A_)) | (lower_case_mask & simde_mm_add_epi8(data, difference_a_)) | (number_mask & simde_mm_add_epi8(data, difference_0_)) |
-- (plus_mask & difference_plus_) | (simde_mm_andnot_si128(slash_negative_mask, difference_slash_));
-+ Vec128 slash_mask = all_mask;
-+
-+ data = (capital_mask & (data + difference_A_)) |
-+ (lower_case_mask & (data + difference_a_)) |
-+ (number_mask & (data + difference_0_)) |
-+ (plus_mask & difference_plus_) |
-+ (Vec128::andnot(slash_mask, difference_slash_));
-+
-+ data_raw = data;
- }
-
-- void registerDecoder_(simde__m128i& data)
-+ void registerDecoder_(Vec128& data_raw)
- {
-- // ASCII letters must be translated over to base64. This cannot be achieved by just adding/substracting a single value
-- // from each letter since in ASCII Alphabet capital letters aren't followed up by small Letters, and small Letters not by numbers (..).
--
-- // Therefore certain kinds of characters must be masked out for further processing:
-+ Vec128 data(data_raw);
-
-- // plusMask equals 0xFF for each corresponding plus, otherwise its 0
-- simde__m128i plusMask = simde_mm_cmpeq_epi8(data, difference_plus_);
-- simde__m128i allMask = plusMask;
-- // slashMask similar to plusMask
-- simde__m128i slashMask = simde_mm_cmpeq_epi8(data, difference_slash_);
-+ Vec128 plusMask = Vec128::cmpeq_epi8(data, difference_plus_);
-+ Vec128 allMask = plusMask;
-+ Vec128 slashMask = Vec128::cmpeq_epi8(data, difference_slash_);
- allMask |= slashMask;
-- // for number mask: all characters less than '9' plus 1 must be numbers, '+' or '/' because input is Base64
-- // therefore "not allMask and less than '9' + 1 (see allNumbers in header) " applied on data sets all bytes corresponding to numbers in the mask to 0xFF
-- simde__m128i numberMask = simde_mm_andnot_si128(allMask, simde_mm_cmplt_epi8(data, simde_mm_set1_epi8('9' + 1)));
-+ Vec128 numberMask = Vec128::andnot(allMask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8('9' + 1))));
- allMask |= numberMask;
-- simde__m128i bigLetterMask = simde_mm_andnot_si128(allMask, simde_mm_cmplt_epi8(data, simde_mm_set1_epi8('Z' + 1)));
-+ Vec128 bigLetterMask = Vec128::andnot(allMask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8('Z' + 1))));
- allMask |= bigLetterMask;
-- simde__m128i smallLetterMask = simde_mm_andnot_si128(allMask, simde_mm_cmplt_epi8(data, simde_mm_set1_epi8('z' + 1)));
-+ Vec128 smallLetterMask = Vec128::andnot(allMask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8('z' + 1))));
-
-- // match ASCII characters with coresponding Base64 codes:
-- data = (plusMask & simde_mm_set1_epi8(62)) | (slashMask & simde_mm_set1_epi8(63)) | (numberMask & simde_mm_add_epi8(data, simde_mm_set1_epi8(4))) |
-- (bigLetterMask & simde_mm_sub_epi8(data, simde_mm_set1_epi8(65))) | // ASCII 'A' is 65, Base64 'A' is 0
-- (smallLetterMask & simde_mm_sub_epi8(data, simde_mm_set1_epi8(71)));
-+ data = (plusMask & Vec128(simde_mm_set1_epi8(62))) |
-+ (slashMask & Vec128(simde_mm_set1_epi8(63))) |
-+ (numberMask & (data + Vec128(simde_mm_set1_epi8(4)))) |
-+ (bigLetterMask & (data - Vec128(simde_mm_set1_epi8(65)))) |
-+ (smallLetterMask & (data - Vec128(simde_mm_set1_epi8(71))));
-
-- // convert little endian to big endian:
-- data = simde_mm_shuffle_epi8(data, shuffle_mask_2_);
-+ data = data.shuffle_epi8(shuffle_mask_2_);
-
-- // the actual magic (conversion base64 to ASCII) happens here by shifting and masking:
-- data = simde_mm_slli_epi32((data & mask1d_), 2) | simde_mm_slli_epi32((data & mask2d_), 4) | simde_mm_slli_epi32((data & mask3d_), 6) | simde_mm_slli_epi32((data & mask4d_), 8);
-+ data = ((data & mask1d_).slli_epi32(2)) |
-+ ((data & mask2d_).slli_epi32(4)) |
-+ ((data & mask3d_).slli_epi32(6)) |
-+ ((data & mask4d_).slli_epi32(8));
-
-- // convert big endian to little endian
-- data = simde_mm_shuffle_epi8(data, shuffle_mask_d_2_);
-- }
-+ data = data.shuffle_epi8(shuffle_mask_d_2_);
-
-- void Base64::stringSimdEncoder_(std::string& in, std::string& out)
-+ data_raw = data;
-+ }
-+ void Base64::stringSimdEncoder_(std::string& in, std::string& out)
- {
- out.resize((Size)(in.size() / 3) * 4 + 16); // resize output array, so the register encoder doesnt write memory to unallocated memory
- uint8_t padding = (3 - in.size() % 3) % 3;
-@@ -126,14 +110,15 @@ namespace OpenMS
- in.resize(in.size() + 4, '\0');
- // otherwise there are cases where register encoder isnt allowed to access last bytes
-
-- simde__m128i data {};
-+ Vec128 data {};
- // loop through input as long as it's safe to access memory
- for (int i = 0; i < loop; i++)
- {
- // each time the last 4 out of 16 byte string data get lost through processing, therefore jumps of 12 bytes (/characters)
-- data = simde_mm_lddqu_si128((simde__m128i*)&in[12 * i]);
-+ const simde__m128i* ptr = reinterpret_cast<const simde__m128i*>(&in[12*i]);
-+ data = Vec128(simde_mm_lddqu_si128(ptr));
- registerEncoder_(data);
-- simde_mm_storeu_si128((simde__m128*)&out[i * 16], data);
-+ simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(&out[i * 16]), data);
- }
-
- size_t read = loop * 12;
-@@ -142,16 +127,19 @@ namespace OpenMS
- // create buffer to translate last bytes without accessing memory that hasn't been allocated
- std::array<char, 16> buffer {};
- memcpy(&buffer[0], &in[read], in.size() - read - 4); // minus 4 because of 4 appended null bytes
-- data = simde_mm_lddqu_si128((simde__m128i*)&buffer[0]);
-+
-+ const simde__m128i* buffer_ptr = reinterpret_cast<const simde__m128i*>(&buffer[0]);
-+ data = Vec128(simde_mm_lddqu_si128(buffer_ptr));
- registerEncoder_(data);
-- simde_mm_storeu_si128((simde__m128*)&out[written], data);
-+ simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(&out[written]), data);
-
- in.resize(in.size() - 4); // remove null bytes
-
- // resizing out and add padding if necessary
- if (padding)
- {
-- size_t newsize = ceil((double)in.size() / 3.) * 4;
-+ // size_t newsize = ceil((double)in.size() / 3.) * 4;
-+ size_t newsize = static_cast<size_t>(ceil(static_cast<double>(in.size()) / 3.)) * 4;
- out.resize(newsize);
- for (size_t j = newsize - 1; j >= newsize - padding; j--)
- {
-@@ -184,26 +172,25 @@ namespace OpenMS
-
- for (int i = 0; i < loop; i++)
- {
-- simde__m128i data = simde_mm_lddqu_si128((simde__m128i*)(inPtr + i * 16));
-+ const simde__m128i raw = simde_mm_lddqu_si128(reinterpret_cast<const simde__m128i*>(inPtr + i * 16));
-+ Vec128 data(raw);
- registerDecoder_(data);
-- simde_mm_storeu_si128((simde__m128*)(outPtr + i * 12), data);
-+ simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(outPtr + i * 12), data.raw());
- }
--
- size_t read = loop * 16;
- std::array<char, 16> rest;
- std::fill(rest.begin(), rest.end(), 'x');
- std::copy(in.begin() + read, in.end(), rest.begin());
-
-- simde__m128i data = simde_mm_lddqu_si128((simde__m128i*)&rest[0]);
-+ const simde__m128i raw = simde_mm_lddqu_si128(reinterpret_cast<const simde__m128i*>(&rest[0]));
-+ Vec128 data(raw);
- registerDecoder_(data);
- size_t written = loop * 12;
-- simde_mm_storeu_si128((simde__m128*)(outPtr + written), data);
--
-+ simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(outPtr + written), data.raw());
- // cutting off decoding of appendix
- outsize = (in.size() / 4) * 3 - g;
-- out.resize(outsize);
-- }
--
-+ out.resize(outsize);
-+ }
- const char Base64::encoder_[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
- const char Base64::decoder_[] = "|$$$}rstuvwxyz{$$$$$$$>?@ABCDEFGHIJKLMNOPQRSTUVW$$$$$$XYZ[\\]^_`abcdefghijklmnopq";
-
-@@ -281,4 +272,6 @@
- }
- }
-
--} //end OpenMS
-+ // stringSimdEncoder_ and stringSimdDecoder_ don't need modification unless you want to use Vec128::load/store
-+ // For now, the core logic is adapted above. Let me know if you want to refactor those too.
-+} // namespace OpenMS
-From 4154ed459c2765b81418016c839d4fce4cd80762 Mon Sep 17 00:00:00 2001
-From: FreezB11 <yashrajrao4@gmail.com>
-Date: Mon, 23 Jun 2025 23:43:34 +0000
-Subject: [PATCH 2/5] ppc64le support
-
----
- src/openms/include/OpenMS/FORMAT/sources.cmake | 1 +
- src/openms/source/FORMAT/Base64.cpp | 5 +++++
- 2 files changed, 6 insertions(+)
-
-diff --git a/src/openms/include/OpenMS/FORMAT/sources.cmake b/src/openms/include/OpenMS/FORMAT/sources.cmake
-index 87b4661d2a4..fec2a5baf0b 100644
---- a/src/openms/include/OpenMS/FORMAT/sources.cmake
-+++ b/src/openms/include/OpenMS/FORMAT/sources.cmake
-@@ -100,6 +100,7 @@ ToolDescriptionFile.h
- TransformationXMLFile.h
- TriqlerFile.h
- UnimodXMLFile.h
-+Vec.h
- XMLFile.h
- XTandemInfile.h
- XTandemXMLFile.h
-diff --git a/src/openms/source/FORMAT/Base64.cpp b/src/openms/source/FORMAT/Base64.cpp
-index 8fcfd5d2374..5e3538c36eb 100644
---- a/src/openms/source/FORMAT/Base64.cpp
-+++ b/src/openms/source/FORMAT/Base64.cpp
-@@ -191,6 +191,11 @@ namespace OpenMS
- outsize = (in.size() / 4) * 3 - g;
- out.resize(outsize);
- }
-+<<<<<<< Updated upstream
-+=======
-+
-+
-+>>>>>>> Stashed changes
- const char Base64::encoder_[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
- const char Base64::decoder_[] = "|$$$}rstuvwxyz{$$$$$$$>?@ABCDEFGHIJKLMNOPQRSTUVW$$$$$$XYZ[\\]^_`abcdefghijklmnopq";
-
-
-From c64a4f8f240d2aafd634f862320589a89aa81473 Mon Sep 17 00:00:00 2001
-From: FreezB11 <yashrajrao4@gmail.com>
-Date: Tue, 24 Jun 2025 16:36:14 +0000
-Subject: [PATCH 3/5] updated
-
----
- src/openms/source/FORMAT/Base64.cpp | 5 -----
- 1 file changed, 5 deletions(-)
-
-diff --git a/src/openms/source/FORMAT/Base64.cpp b/src/openms/source/FORMAT/Base64.cpp
-index 5e3538c36eb..8fcfd5d2374 100644
---- a/src/openms/source/FORMAT/Base64.cpp
-+++ b/src/openms/source/FORMAT/Base64.cpp
-@@ -191,11 +191,6 @@ namespace OpenMS
- outsize = (in.size() / 4) * 3 - g;
- out.resize(outsize);
- }
--<<<<<<< Updated upstream
--=======
--
--
-->>>>>>> Stashed changes
- const char Base64::encoder_[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
- const char Base64::decoder_[] = "|$$$}rstuvwxyz{$$$$$$$>?@ABCDEFGHIJKLMNOPQRSTUVW$$$$$$XYZ[\\]^_`abcdefghijklmnopq";
-
-
-From a1680c70a0ae6e2f97a1581ed9f22edad36bbcba Mon Sep 17 00:00:00 2001
-From: FreezB11 <yashrajrao4@gmail.com>
-Date: Tue, 24 Jun 2025 16:55:35 +0000
-Subject: [PATCH 4/5] bot suggestion taken
-
----
- src/openms/include/OpenMS/FORMAT/Vec.h | 83 ++++++++++---------
- src/openms/source/FORMAT/Base64.cpp | 109 +++++++++++++------------
- 2 files changed, 99 insertions(+), 93 deletions(-)
-
-diff --git a/src/openms/include/OpenMS/FORMAT/Vec.h b/src/openms/include/OpenMS/FORMAT/Vec.h
-index 107ef8649cc..db96aa00232 100644
---- a/src/openms/include/OpenMS/FORMAT/Vec.h
-+++ b/src/openms/include/OpenMS/FORMAT/Vec.h
-@@ -1,90 +1,95 @@
-+// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
-+// SPDX-License-Identifier: BSD-3-Clause
-+//
-+// --------------------------------------------------------------------------
-+// $Maintainer: Chris Bielow
-+// $Authors: Chris Bielow
-+// --------------------------------------------------------------------------
- #pragma once
--#include <simde/x86/sse2.h> // or the lowest needed header
--
--class Vec128 {
--public:
-+#include <OpenMS/SYSTEM/SIMDe.h>
-+/**
-+ * @brief Wrapper around simde__m128i for better readability and portability
-+ *
-+ * Provides overloaded operators and utility functions for common SIMD operations.
-+ */
-+struct Vec128i {
- simde__m128i val;
-
-- Vec128() = default;
-- Vec128(simde__m128i v) : val(v) {}
-- Vec128(const Vec128& other) = default;
-- simde__m128i& raw() { return val; }
-- const simde__m128i& raw() const { return val; }
-+ Vec128i() = default;
-+ Vec128i(simde__m128i v) : val(v) {}
-+ Vec128i(const Vec128i& other) = default;
-+ // simde__m128i& raw() { return val; }
-+ // const simde__m128i& raw() const { return val; }
-
- // Conversion to simde__m128i
- operator simde__m128i() const { return val; }
-
- // Bitwise AND
-- Vec128 operator&(const Vec128& other) const {
-- return Vec128(simde_mm_and_si128(val, other.val));
-+ Vec128i operator&(const Vec128i& other) const {
-+ return Vec128i(simde_mm_and_si128(val, other.val));
- }
-
-- Vec128& operator&=(const Vec128& other) {
-+ Vec128i& operator&=(const Vec128i& other) {
- val = simde_mm_and_si128(val, other.val);
- return *this;
- }
-
- // Bitwise OR
-- Vec128 operator|(const Vec128& other) const {
-- return Vec128(simde_mm_or_si128(val, other.val));
-+ Vec128i operator|(const Vec128i& other) const {
-+ return Vec128i(simde_mm_or_si128(val, other.val));
- }
-
-- Vec128& operator|=(const Vec128& other) {
-+ Vec128i& operator|=(const Vec128i& other) {
- val = simde_mm_or_si128(val, other.val);
- return *this;
- }
-
- // Bitwise XOR
-- Vec128 operator^(const Vec128& other) const {
-- return Vec128(simde_mm_xor_si128(val, other.val));
-+ Vec128i operator^(const Vec128i& other) const {
-+ return Vec128i(simde_mm_xor_si128(val, other.val));
- }
-
-- Vec128& operator^=(const Vec128& other) {
-+ Vec128i& operator^=(const Vec128i& other) {
- val = simde_mm_xor_si128(val, other.val);
- return *this;
- }
-
- // Arithmetic Add
-- Vec128 operator+(const Vec128& other) const {
-- return Vec128(simde_mm_add_epi8(val, other.val));
-+ Vec128i operator+(const Vec128i& other) const {
-+ return Vec128i(simde_mm_add_epi8(val, other.val));
- }
-
- // Arithmetic Sub
-- Vec128 operator-(const Vec128& other) const {
-- return Vec128(simde_mm_sub_epi8(val, other.val));
-+ Vec128i operator-(const Vec128i& other) const {
-+ return Vec128i(simde_mm_sub_epi8(val, other.val));
- }
- // Left shift by constant
-- Vec128 slli_epi32(int imm) const {
-- return Vec128(simde_mm_slli_epi32(val, imm));
-+ Vec128i slli_epi32(int imm) const {
-+ return Vec128i(simde_mm_slli_epi32(val, imm));
- }
-
- // Right shift by constant
-- Vec128 srli_epi32(int imm) const {
-- return Vec128(simde_mm_srli_epi32(val, imm));
-+ Vec128i srli_epi32(int imm) const {
-+ return Vec128i(simde_mm_srli_epi32(val, imm));
- }
-
- // Shuffle (requires SSSE3)
-- Vec128 shuffle_epi8(const Vec128& mask) const {
-- return Vec128(simde_mm_shuffle_epi8(val, mask.val));
-+ Vec128i shuffle_epi8(const Vec128i& mask) const {
-+ return Vec128i(simde_mm_shuffle_epi8(val, mask.val));
- }
-
- // Comparison (less than, returns mask)
-- static Vec128 cmplt_epi8(const Vec128& a, const Vec128& b) {
-- return Vec128(simde_mm_cmplt_epi8(a.val, b.val));
-+ static Vec128i cmplt_epi8(const Vec128i& a, const Vec128i& b) {
-+ return Vec128i(simde_mm_cmplt_epi8(a.val, b.val));
- }
-
- // Equality
-- static Vec128 cmpeq_epi8(const Vec128& a, const Vec128& b) {
-- return Vec128(simde_mm_cmpeq_epi8(a.val, b.val));
-- }
--
-- // And-not
-- static Vec128 andnot_si128(const Vec128& a, const Vec128& b) {
-- return Vec128(simde_mm_andnot_si128(a.val, b.val));
-+ static Vec128i cmpeq_epi8(const Vec128i& a, const Vec128i& b) {
-+ return Vec128i(simde_mm_cmpeq_epi8(a.val, b.val));
- }
- // Bitwise ANDNOT
-- static Vec128 andnot(const Vec128& a, const Vec128& b) {
-- return Vec128(simde_mm_andnot_si128(a.val, b.val));
-+ static Vec128i andnot(const Vec128i& a, const Vec128i& b) {
-+ return Vec128i(simde_mm_andnot_si128(a.val, b.val));
- }
- // Optional: shift and other operators can be added similarly
- };
-diff --git a/src/openms/source/FORMAT/Base64.cpp b/src/openms/source/FORMAT/Base64.cpp
-index 8fcfd5d2374..4cf220900cb 100644
---- a/src/openms/source/FORMAT/Base64.cpp
-+++ b/src/openms/source/FORMAT/Base64.cpp
-@@ -1,7 +1,10 @@
- // Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
- // SPDX-License-Identifier: BSD-3-Clause
--
--#pragma once
-+//
-+// --------------------------------------------------------------------------
-+// $Maintainer: Timo Sachsenberg $
-+// $Authors: Marc Sturm, Chris Bielow, Moritz Aubermann $
-+// --------------------------------------------------------------------------
-
- #include <OpenMS/FORMAT/Base64.h>
- #include <OpenMS/SYSTEM/SIMDe.h>
-@@ -14,30 +17,30 @@ using namespace std;
-
- namespace OpenMS
- {
-- const Vec128 mask1_ = simde_mm_set1_epi32(0x3F000000);
-- const Vec128 mask2_ = simde_mm_set1_epi32(0x003F0000);
-- const Vec128 mask3_ = simde_mm_set1_epi32(0x00003F00);
-- const Vec128 mask4_ = simde_mm_set1_epi32(0x0000003F);
--
-- const Vec128 mask1d_ = simde_mm_set1_epi32(0xFF000000);
-- const Vec128 mask2d_ = simde_mm_set1_epi32(0x00FF0000);
-- const Vec128 mask3d_ = simde_mm_set1_epi32(0x0000FF00);
-- const Vec128 mask4d_ = simde_mm_set1_epi32(0x000000FF);
--
-- const Vec128 difference_A_ = simde_mm_set1_epi8('A');
-- const Vec128 difference_a_ = simde_mm_set1_epi8('a' - 26);
-- const Vec128 difference_0_ = simde_mm_set1_epi8('0' - 52);
-- const Vec128 difference_plus_ = simde_mm_set1_epi8('+');
-- const Vec128 difference_slash_ = simde_mm_set1_epi8('/');
--
-- const Vec128 shuffle_mask_1_ = simde_mm_setr_epi8(2, 2, 1, 0, 5, 5, 4, 3, 8, 8, 7, 6, 11, 11, 10, 9);
-- const Vec128 shuffle_mask_2_ = simde_mm_setr_epi8(3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8, 15, 14, 13, 12);
-- const Vec128 shuffle_mask_big_endian_ = simde_mm_setr_epi8(0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9, 10, 11, 11);
-- const Vec128 shuffle_mask_d_2_ = simde_mm_setr_epi8(3, 2, 1, 7, 6, 5, 11, 10, 9, 15, 14, 13, 0, 4, 8, 12);
--
-- void registerEncoder_(Vec128& data_raw)
-+ const Vec128i mask1_ = simde_mm_set1_epi32(0x3F000000);
-+ const Vec128i mask2_ = simde_mm_set1_epi32(0x003F0000);
-+ const Vec128i mask3_ = simde_mm_set1_epi32(0x00003F00);
-+ const Vec128i mask4_ = simde_mm_set1_epi32(0x0000003F);
-+
-+ const Vec128i mask1d_ = simde_mm_set1_epi32(0xFF000000);
-+ const Vec128i mask2d_ = simde_mm_set1_epi32(0x00FF0000);
-+ const Vec128i mask3d_ = simde_mm_set1_epi32(0x0000FF00);
-+ const Vec128i mask4d_ = simde_mm_set1_epi32(0x000000FF);
-+
-+ const Vec128i difference_A_ = simde_mm_set1_epi8('A');
-+ const Vec128i difference_a_ = simde_mm_set1_epi8('a' - 26);
-+ const Vec128i difference_0_ = simde_mm_set1_epi8('0' - 52);
-+ const Vec128i difference_plus_ = simde_mm_set1_epi8('+');
-+ const Vec128i difference_slash_ = simde_mm_set1_epi8('/');
-+
-+ const Vec128i shuffle_mask_1_ = simde_mm_setr_epi8(2, 2, 1, 0, 5, 5, 4, 3, 8, 8, 7, 6, 11, 11, 10, 9);
-+ const Vec128i shuffle_mask_2_ = simde_mm_setr_epi8(3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8, 15, 14, 13, 12);
-+ const Vec128i shuffle_mask_big_endian_ = simde_mm_setr_epi8(0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9, 10, 11, 11);
-+ const Vec128i shuffle_mask_d_2_ = simde_mm_setr_epi8(3, 2, 1, 7, 6, 5, 11, 10, 9, 15, 14, 13, 0, 4, 8, 12);
-+
-+ void registerEncoder_(Vec128i& data_raw)
- {
-- Vec128 data(data_raw);
-+ Vec128i data(data_raw);
-
- data = (!OPENMS_IS_BIG_ENDIAN ? data.shuffle_epi8(shuffle_mask_1_) : data.shuffle_epi8(shuffle_mask_big_endian_));
-
-@@ -47,48 +50,48 @@ namespace OpenMS
- if (!OPENMS_IS_BIG_ENDIAN)
- data = data.shuffle_epi8(shuffle_mask_2_);
-
-- Vec128 capital_mask = Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8(26)));
-- Vec128 all_mask = capital_mask;
-+ Vec128i capital_mask = Vec128i::cmplt_epi8(data, Vec128i(simde_mm_set1_epi8(26)));
-+ Vec128i all_mask = capital_mask;
-
-- Vec128 lower_case_mask = Vec128::andnot(all_mask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8(52))));
-+ Vec128i lower_case_mask = Vec128i::andnot(all_mask, Vec128i::cmplt_epi8(data, Vec128i(simde_mm_set1_epi8(52))));
- all_mask |= lower_case_mask;
-
-- Vec128 number_mask = Vec128::andnot(all_mask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8(62))));
-+ Vec128i number_mask = Vec128i::andnot(all_mask, Vec128i::cmplt_epi8(data, Vec128i(simde_mm_set1_epi8(62))));
- all_mask |= number_mask;
-
-- Vec128 plus_mask = Vec128::andnot(all_mask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8(63))));
-+ Vec128i plus_mask = Vec128i::andnot(all_mask, Vec128i::cmplt_epi8(data, Vec128i(simde_mm_set1_epi8(63))));
- all_mask |= plus_mask;
-
-- Vec128 slash_mask = all_mask;
-+ Vec128i slash_mask = all_mask;
-
- data = (capital_mask & (data + difference_A_)) |
- (lower_case_mask & (data + difference_a_)) |
- (number_mask & (data + difference_0_)) |
- (plus_mask & difference_plus_) |
-- (Vec128::andnot(slash_mask, difference_slash_));
-+ (Vec128i::andnot(slash_mask, difference_slash_));
-
- data_raw = data;
- }
-
-- void registerDecoder_(Vec128& data_raw)
-+ void registerDecoder_(Vec128i& data_raw)
- {
-- Vec128 data(data_raw);
-+ Vec128i data(data_raw);
-
-- Vec128 plusMask = Vec128::cmpeq_epi8(data, difference_plus_);
-- Vec128 allMask = plusMask;
-- Vec128 slashMask = Vec128::cmpeq_epi8(data, difference_slash_);
-+ Vec128i plusMask = Vec128i::cmpeq_epi8(data, difference_plus_);
-+ Vec128i allMask = plusMask;
-+ Vec128i slashMask = Vec128i::cmpeq_epi8(data, difference_slash_);
- allMask |= slashMask;
-- Vec128 numberMask = Vec128::andnot(allMask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8('9' + 1))));
-+ Vec128i numberMask = Vec128i::andnot(allMask, Vec128i::cmplt_epi8(data, Vec128i(simde_mm_set1_epi8('9' + 1))));
- allMask |= numberMask;
-- Vec128 bigLetterMask = Vec128::andnot(allMask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8('Z' + 1))));
-+ Vec128i bigLetterMask = Vec128i::andnot(allMask, Vec128i::cmplt_epi8(data, Vec128i(simde_mm_set1_epi8('Z' + 1))));
- allMask |= bigLetterMask;
-- Vec128 smallLetterMask = Vec128::andnot(allMask, Vec128::cmplt_epi8(data, Vec128(simde_mm_set1_epi8('z' + 1))));
-+ Vec128i smallLetterMask = Vec128i::andnot(allMask, Vec128i::cmplt_epi8(data, Vec128i(simde_mm_set1_epi8('z' + 1))));
-
-- data = (plusMask & Vec128(simde_mm_set1_epi8(62))) |
-- (slashMask & Vec128(simde_mm_set1_epi8(63))) |
-- (numberMask & (data + Vec128(simde_mm_set1_epi8(4)))) |
-- (bigLetterMask & (data - Vec128(simde_mm_set1_epi8(65)))) |
-- (smallLetterMask & (data - Vec128(simde_mm_set1_epi8(71))));
-+ data = (plusMask & Vec128i(simde_mm_set1_epi8(62))) |
-+ (slashMask & Vec128i(simde_mm_set1_epi8(63))) |
-+ (numberMask & (data + Vec128i(simde_mm_set1_epi8(4)))) |
-+ (bigLetterMask & (data - Vec128i(simde_mm_set1_epi8(65)))) |
-+ (smallLetterMask & (data - Vec128i(simde_mm_set1_epi8(71))));
-
- data = data.shuffle_epi8(shuffle_mask_2_);
-
-@@ -110,13 +113,13 @@ namespace OpenMS
- in.resize(in.size() + 4, '\0');
- // otherwise there are cases where register encoder isnt allowed to access last bytes
-
-- Vec128 data {};
-+ Vec128i data {};
- // loop through input as long as it's safe to access memory
- for (int i = 0; i < loop; i++)
- {
- // each time the last 4 out of 16 byte string data get lost through processing, therefore jumps of 12 bytes (/characters)
- const simde__m128i* ptr = reinterpret_cast<const simde__m128i*>(&in[12*i]);
-- data = Vec128(simde_mm_lddqu_si128(ptr));
-+ data = Vec128i(simde_mm_lddqu_si128(ptr));
- registerEncoder_(data);
- simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(&out[i * 16]), data);
- }
-@@ -129,7 +132,7 @@ namespace OpenMS
- memcpy(&buffer[0], &in[read], in.size() - read - 4); // minus 4 because of 4 appended null bytes
-
- const simde__m128i* buffer_ptr = reinterpret_cast<const simde__m128i*>(&buffer[0]);
-- data = Vec128(simde_mm_lddqu_si128(buffer_ptr));
-+ data = Vec128i(simde_mm_lddqu_si128(buffer_ptr));
- registerEncoder_(data);
- simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(&out[written]), data);
-
-@@ -173,9 +176,9 @@ namespace OpenMS
- for (int i = 0; i < loop; i++)
- {
- const simde__m128i raw = simde_mm_lddqu_si128(reinterpret_cast<const simde__m128i*>(inPtr + i * 16));
-- Vec128 data(raw);
-+ Vec128i data(raw);
- registerDecoder_(data);
-- simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(outPtr + i * 12), data.raw());
-+ simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(outPtr + i * 12), data.val);
- }
- size_t read = loop * 16;
- std::array<char, 16> rest;
-@@ -183,10 +186,10 @@ namespace OpenMS
- std::copy(in.begin() + read, in.end(), rest.begin());
-
- const simde__m128i raw = simde_mm_lddqu_si128(reinterpret_cast<const simde__m128i*>(&rest[0]));
-- Vec128 data(raw);
-+ Vec128i data(raw);
- registerDecoder_(data);
- size_t written = loop * 12;
-- simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(outPtr + written), data.raw());
-+ simde_mm_storeu_si128(reinterpret_cast<simde__m128i*>(outPtr + written), data.val);
- // cutting off decoding of appendix
- outsize = (in.size() / 4) * 3 - g;
- out.resize(outsize);
-From 5e77fb1e925d18207c2d8cf19102aacb6a01962d Mon Sep 17 00:00:00 2001
-From: FreezB11 <yashrajrao4@gmail.com>
-Date: Tue, 24 Jun 2025 17:08:28 +0000
-Subject: [PATCH 5/5] suggestions2
-
----
- src/openms/include/OpenMS/FORMAT/Vec.h | 37 ++++++++++++++++----------
- 1 file changed, 23 insertions(+), 14 deletions(-)
-
-diff --git a/src/openms/include/OpenMS/FORMAT/Vec.h b/src/openms/include/OpenMS/FORMAT/Vec.h
-index db96aa00232..37dfcd4682e 100644
---- a/src/openms/include/OpenMS/FORMAT/Vec.h
-+++ b/src/openms/include/OpenMS/FORMAT/Vec.h
-@@ -8,9 +8,9 @@
- #pragma once
- #include <OpenMS/SYSTEM/SIMDe.h>
- /**
-- * @brief Wrapper around simde__m128i for better readability and portability
-- *
-- * Provides overloaded operators and utility functions for common SIMD operations.
-+ @brief Wrapper around simde__m128i for better readability and portability
-+
-+ Provides overloaded operators and utility functions for common SIMD operations.
- */
- struct Vec128i {
- simde__m128i val;
-@@ -18,8 +18,6 @@ struct Vec128i {
- Vec128i() = default;
- Vec128i(simde__m128i v) : val(v) {}
- Vec128i(const Vec128i& other) = default;
-- // simde__m128i& raw() { return val; }
-- // const simde__m128i& raw() const { return val; }
-
- // Conversion to simde__m128i
- operator simde__m128i() const { return val; }
-@@ -54,42 +52,53 @@ struct Vec128i {
- return *this;
- }
-
-- // Arithmetic Add
-+ /// Arithmetic addition on 8-bit lanes (for byte-wise operations)
- Vec128i operator+(const Vec128i& other) const {
- return Vec128i(simde_mm_add_epi8(val, other.val));
- }
-
-- // Arithmetic Sub
-+ /// Arithmetic subtraction on 8-bit lanes (for byte-wise operations)
- Vec128i operator-(const Vec128i& other) const {
- return Vec128i(simde_mm_sub_epi8(val, other.val));
- }
-- // Left shift by constant
-+ /// Left shift by constant on 32-bit lanes (for Base64 bit manipulation)
- Vec128i slli_epi32(int imm) const {
- return Vec128i(simde_mm_slli_epi32(val, imm));
- }
-
-- // Right shift by constant
-+ /// Right shift by constant on 32-bit lanes (for Base64 bit manipulation)
- Vec128i srli_epi32(int imm) const {
- return Vec128i(simde_mm_srli_epi32(val, imm));
- }
-
-- // Shuffle (requires SSSE3)
-+ /// Shuffle bytes according to mask (requires SSSE3 support)
-+ /// @param mask Control mask for byte shuffling
-+ /// @return New Vec128i with shuffled bytes
- Vec128i shuffle_epi8(const Vec128i& mask) const {
- return Vec128i(simde_mm_shuffle_epi8(val, mask.val));
- }
-
-- // Comparison (less than, returns mask)
-+ /// Compare 8-bit lanes for less-than condition
-+ /// @param a First operand
-+ /// @param b Second operand
-+ /// @return Comparison mask (0xFF for true lanes, 0x00 for false)
- static Vec128i cmplt_epi8(const Vec128i& a, const Vec128i& b) {
- return Vec128i(simde_mm_cmplt_epi8(a.val, b.val));
- }
-
-- // Equality
-+ /// Compare 8-bit lanes for equality
-+ /// @param a First operand
-+ /// @param b Second operand
-+ /// @return Comparison mask (0xFF for equal lanes, 0x00 for unequal)
- static Vec128i cmpeq_epi8(const Vec128i& a, const Vec128i& b) {
- return Vec128i(simde_mm_cmpeq_epi8(a.val, b.val));
- }
-- // Bitwise ANDNOT
-+
-+ /// Bitwise ANDNOT operation (a AND NOT b)
-+ /// @param a First operand
-+ /// @param b Second operand (to be inverted before AND)
-+ /// @return Result of (a AND NOT b)
- static Vec128i andnot(const Vec128i& a, const Vec128i& b) {
- return Vec128i(simde_mm_andnot_si128(a.val, b.val));
- }
-- // Optional: shift and other operators can be added similarly
- };
-
diff --git a/openms.spec b/openms.spec
index ee6aa16..5e9ed18 100644
--- a/openms.spec
+++ b/openms.spec
@@ -11,8 +11,7 @@ ExclusiveArch: %{qt6_qtwebengine_arches}
%global __provides_exclude ^(%%(find %{buildroot}%{_libdir}/OpenMS -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
%global __requires_exclude ^(%%(find %{buildroot}%{_libdir}/OpenMS -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
-# This is a post-release re-code of the 3.5.0 version
-%global use_intermediate 1
+%global use_intermediate 0
%if 0%{?use_intermediate}
%global commit 91afebf7e1dc7a0ea078cafc3ccd393e633e9e1e
@@ -41,7 +40,7 @@ URL: http://www.openms.de/
%if 0%{?use_intermediate}
Source0: https://github.com/OpenMS/OpenMS/archive/%{commit}/OpenMS-%{commit}.tar.gz
%else
-Source0: https://github.com/OpenMS/OpenMS/archive/Release%{version}/OpenMS-release-%{version}.tar.gz
+Source0: https://github.com/OpenMS/OpenMS/archive/Release%{version}/OpenMS-%{version}.tar.gz
%endif
##TOPPView, TOPPAS, INIFileEditor .desktop and icon files
@@ -78,26 +77,20 @@ BuildRequires: desktop-file-utils
BuildRequires: percolator
BuildRequires: libappstream-glib
BuildRequires: yaml-cpp-devel >= 0.8.0
+BuildRequires: zstd-devel
Requires: qt6-qtdeclarative-devel%{?_isa}
-
# Build documentation
# Doxygen useful only on SVN versions
BuildRequires: doxygen, dos2unix, graphviz
BuildRequires: texlive, texlive-a4wide, texlive-xtab
-
# Xvfb is needed to run a virtual X server used by some tests
BuildRequires: xorg-x11-server-Xvfb, gnuplot, gawk
-
Requires: percolator%{?_isa}
Requires: %{name}-data%{?_isa} = 2:%{version}-%{release}
Requires: R-core%{?_isa}
-
# Remove -O0 flag for tests compiling
Patch0: %{name}-remove_testflag.patch
-Patch1: %{name}-3.5.0-bug7907.patch
-
-
%description
OpenMS is a C++ library for LC-MS data management and analyses.
It offers an infrastructure for the rapid development of mass spectrometry
@@ -162,7 +155,6 @@ The Utilities are divided into several subgroups:
%package -n python3-openms
Summary: Python wrapper for OpenMS
%py_provides python3-%{name}
-
BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: python3-numpy
@@ -209,15 +201,11 @@ HTML documentation of OpenMS.
%if 0%{?use_intermediate}
%autosetup -N -n OpenMS-%{commit}
%else
-%autosetup -N -n OpenMS-release-%{version}
+%autosetup -N -n OpenMS-%{version}
%endif
%patch -P 0 -p1 -b .backup
-%ifarch %{power64}
-%patch -P 1 -p1 -b .backup
-%endif
-
# Remove invalid tags
sed -e 's| <project_group></project_group>||g' -i share/OpenMS/DESKTOP/*.appdata.xml
diff --git a/sources b/sources
index e394e9f..41d7070 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
SHA512 (INIFileEditor.png) = d71fdb61571f38f800484da815cb6fbce6b09015f208b0cf96e8569bee670b3b294a2965a57f3f7ab63b8fbd7720c7251c6ff1602676a260bd573ba00ebcbca8
-SHA512 (OpenMS-91afebf7e1dc7a0ea078cafc3ccd393e633e9e1e.tar.gz) = a97b1fbca749caf365a5d6bab4bf0c2d8db3de5ade7ec361e7fce28be37b47f82c03e9df14aa4aa7c9821dd864dec46bbe3f08813e411b83f57a7882024c3783
+SHA512 (OpenMS-3.6.0.tar.gz) = 83ebd633d0c35c8d49905f7971115b51db95831fb04790ec4acfe0e04f22916616b2463fc7b8e1f70c05cef06e518063f075aec099998b431dc9dfc72fd23ea2
SHA512 (TOPPAS.png) = a1932c03d6327da03bc72d0be898cebc8f8686b9553a9379909c01a865d703892e905d170d415cf27d0650688cd6b3835075afbf859bd66327a901110cde1663
SHA512 (TOPPView.png) = f5cbcc6eb64b9790b32c16d711b9df98dfb5523720c01ccb812bb40d766ece6ac85d6fd1d89ffea3d6c7286f161dbd6a716f649e8c7d2205844179933e4c1ba7
reply other threads:[~2026-11-26 10:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179568895893.1.4008032013782960217.rpms-openms-8f7f646009ca@fedoraproject.org \
--to=sagitter@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox