From 1fd53225989391fb2ed31a062ae6007c7f1df132 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Aug 2025 21:51:25 +0000 Subject: [PATCH 1/3] build(deps): bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/actionlint.yml | 2 +- .github/workflows/ci.yml | 30 +++++++++++++-------------- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/deploy.yml | 6 +++--- .github/workflows/ossar-analysis.yml | 2 +- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 7cbd0a55c..32786d29b 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -5,7 +5,7 @@ jobs: actionlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Check workflow files run: | echo "::add-matcher::.github/actionlint-matcher.json" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a1a4c623..7719b127b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: checkinstall: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 2 - name: Install APT Dependencies @@ -33,7 +33,7 @@ jobs: formatting: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 2 - name: Install pcre2grep @@ -126,7 +126,7 @@ jobs: CXXFLAGS: -Wall -Wextra -Werror ${{ matrix.isax }} INTEL_TARGET: ${{ matrix.target }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - name: CPU Information @@ -169,7 +169,7 @@ jobs: CFLAGS: -Wall -Wextra -Werror -march=bdver2 CXXFLAGS: -Wall -Wextra -Werror -march=bdver2 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - name: CPU Information @@ -210,7 +210,7 @@ jobs: - "32-relaxed" - "64-relaxed" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - run: sudo apt-get update @@ -252,7 +252,7 @@ jobs: CFLAGS: -DSIMDE_ENABLE_NATIVE_ALIASES -DSIMDE_NATIVE_ALIASES_TESTING -Wall -Wextra -Werror -pedantic CXXFLAGS: -DSIMDE_ENABLE_NATIVE_ALIASES -DSIMDE_NATIVE_ALIASES_TESTING -Wall -Wextra -Werror -pedantic steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - id: cpu @@ -284,7 +284,7 @@ jobs: CFLAGS: -march=native -Wall -Wextra -Werror CXXFLAGS: -march=native -Wall -Wextra -Werror steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - id: cpu @@ -359,7 +359,7 @@ jobs: CFLAGS: ${{ matrix.arch_flags }} -march=native -Wall -Wextra -Werror CXXFLAGS: ${{ matrix.arch_flags }} -march=native -Wall -Wextra -Werror steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - id: cpu @@ -472,7 +472,7 @@ jobs: # distro: ubuntu-24.04 runs-on: ${{ matrix.distro }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - name: CPU Information @@ -525,7 +525,7 @@ jobs: distro: ubuntu-24.04 runs-on: ${{ matrix.distro }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - name: CPU Information @@ -582,7 +582,7 @@ jobs: distro: ubuntu-24.04 runs-on: ${{ matrix.distro }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - name: CPU Information @@ -670,7 +670,7 @@ jobs: distro: ubuntu-24.04 runs-on: ${{ matrix.distro }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - name: CPU Information @@ -833,7 +833,7 @@ jobs: CFLAGS: -march=native ${{ matrix.arch_flags }} -Wall -Weverything -Werror -fno-lax-vector-conversions CXXFLAGS: -march=native ${{ matrix.arch_flags }} -Wall -Weverything -Werror -fno-lax-vector-conversions steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive - id: cpu @@ -929,7 +929,7 @@ jobs: CFLAGS: ${{ matrix.arch_flags }} -Wall -Weverything -Werror -Wno-complex-component-init CXXFLAGS: ${{ matrix.arch_flags }} -Wall -Weverything -Werror -Wno-complex-component-init steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive # - name: System Information @@ -965,7 +965,7 @@ jobs: CFLAGS: -Wall -Werror -march=native -fp-model precise CXXFLAGS: -Wall -Werror -march=native -fp-model precise steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: CPU Information run: cat /proc/cpuinfo - name: Install APT Dependencies diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c9b58fa4e..d2a58fc13 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 346fb5166..d14f7b3d5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ jobs: no-tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false fetch-depth: 0 @@ -28,11 +28,11 @@ jobs: status: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false fetch-depth: 0 - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 repository: simd-everywhere/implementation-status diff --git a/.github/workflows/ossar-analysis.yml b/.github/workflows/ossar-analysis.yml index cadf2bef7..d99f83662 100644 --- a/.github/workflows/ossar-analysis.yml +++ b/.github/workflows/ossar-analysis.yml @@ -16,7 +16,7 @@ jobs: steps: # Checkout your code repository to scan - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. From e78ab71c74c6ae57f73f8ea877b2e862e56492dd Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Wed, 13 Aug 2025 12:07:01 +0200 Subject: [PATCH 2/3] circle-ci: upgrade i686-O2 test to gcc 12 --- .circleci/config.yml | 8 ++++---- .../cross-files/i686-gcc-12-qemu-ccache.cross | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 docker/cross-files/i686-gcc-12-qemu-ccache.cross diff --git a/.circleci/config.yml b/.circleci/config.yml index 31c09e3c7..35505308d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -187,7 +187,7 @@ jobs: when: always - run: /root/.local/bin/meson test -C build --num-processes 5 --print-errorlogs - i686-gcc11-O2: + i686-gcc12-O2: resource_class: large docker: - image: debian:stable-slim @@ -195,7 +195,7 @@ jobs: username: $DOCKERHUB_USERNAME password: $DOCKERHUB_PASSWORD steps: - - run: apt-get update && apt-get install -y git ssh ninja-build pipx python3-setuptools python3-wheel gcovr {gcc,g++}-11-i686-linux-gnu libc6-i386-cross qemu-user-static ccache build-essential + - run: apt-get update && apt-get install -y git ssh ninja-build pipx python3-setuptools python3-wheel gcovr {gcc,g++}-12-i686-linux-gnu libc6-i386-cross qemu-user-static ccache build-essential - checkout - restore_cache: keys: @@ -215,7 +215,7 @@ jobs: ccache -z - run: | export PATH=/usr/lib/ccache:${PATH} - /root/.local/bin/meson setup build --cross-file docker/cross-files/i686-gcc-11-qemu-ccache.cross + /root/.local/bin/meson setup build --cross-file docker/cross-files/i686-gcc-12-qemu-ccache.cross /root/.local/bin/meson compile -C build --verbose -j 5 - run: /usr/bin/ccache -s - save_cache: @@ -254,7 +254,7 @@ workflows: # branches: # ignore: # - /^ci/(?!circleci).*$/ - - i686-gcc11-O2: + - i686-gcc12-O2: filters: branches: ignore: diff --git a/docker/cross-files/i686-gcc-12-qemu-ccache.cross b/docker/cross-files/i686-gcc-12-qemu-ccache.cross new file mode 100644 index 000000000..94245b0f4 --- /dev/null +++ b/docker/cross-files/i686-gcc-12-qemu-ccache.cross @@ -0,0 +1,19 @@ +[binaries] +c = ['ccache', 'i686-linux-gnu-gcc-12'] +cpp = ['ccache', 'i686-linux-gnu-g++-12'] +ar = 'i686-linux-gnu-ar' +strip = 'i686-linux-gnu-strip' +objcopy = 'i686-linux-gnu-objcopy' +ld = 'i686-linux-gnu-ld' +exe_wrapper = ['qemu-i386-static', '-L', '/usr/i686-linux-gnu'] + +[properties] +c_args = ['-Wextra', '-Werror', '-O2'] +cpp_args = ['-Wextra', '-Werror', '-O2'] +needs_exe_wrapper = true + +[host_machine] +system = 'linux' +cpu_family = 'x86' +cpu = 'prescott' +endian = 'little' From 363c6d0b8aa88528e6f0a37ef2a826983d2bea1a Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Wed, 13 Aug 2025 12:34:46 +0200 Subject: [PATCH 3/3] arm neon for gcc 12 i686: silence false-positive warning --- simde/arm/neon/ld1_x2.h | 7 +++++++ simde/arm/neon/ld2.h | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/simde/arm/neon/ld1_x2.h b/simde/arm/neon/ld1_x2.h index 04af43955..ca794217b 100644 --- a/simde/arm/neon/ld1_x2.h +++ b/simde/arm/neon/ld1_x2.h @@ -434,6 +434,10 @@ simde_vld1_p64_x2(simde_poly64_t const ptr[HEDLEY_ARRAY_PARAM(2)]) { (!defined(__clang__) || (SIMDE_DETECT_CLANG_VERSION_CHECK(9,0,0) && defined(SIMDE_ARM_NEON_A64V8_NATIVE))) return vld1_p64_x2(ptr); #else + #if defined(SIMDE_DIAGNOSTIC_DISABLE_UNINITIALIZED_) && HEDLEY_GCC_VERSION_CHECK(12,0,0) + HEDLEY_DIAGNOSTIC_PUSH + SIMDE_DIAGNOSTIC_DISABLE_UNINITIALIZED_ + #endif simde_poly64x1_private a_[2]; #if defined(SIMDE_RISCV_V_NATIVE) a_[0].sv64 = __riscv_vle64_v_u64m1(ptr , 1); @@ -443,6 +447,9 @@ simde_vld1_p64_x2(simde_poly64_t const ptr[HEDLEY_ARRAY_PARAM(2)]) { a_[i].values[0] = ptr[i]; } #endif + #if defined(SIMDE_DIAGNOSTIC_DISABLE_UNINITIALIZED_) && HEDLEY_GCC_VERSION_CHECK(12,0,0) + HEDLEY_DIAGNOSTIC_POP + #endif simde_poly64x1x2_t s_ = { { simde_poly64x1_from_private(a_[0]), simde_poly64x1_from_private(a_[1]) } }; return s_; diff --git a/simde/arm/neon/ld2.h b/simde/arm/neon/ld2.h index b22c80c05..b221d20e9 100644 --- a/simde/arm/neon/ld2.h +++ b/simde/arm/neon/ld2.h @@ -1131,6 +1131,10 @@ simde_vld2_p64(simde_poly64_t const ptr[HEDLEY_ARRAY_PARAM(2)]) { #if defined(SIMDE_ARM_NEON_A32V8_NATIVE) return vld2_p64(ptr); #else + #if defined(SIMDE_DIAGNOSTIC_DISABLE_UNINITIALIZED_) && HEDLEY_GCC_VERSION_CHECK(12,0,0) + HEDLEY_DIAGNOSTIC_PUSH + SIMDE_DIAGNOSTIC_DISABLE_UNINITIALIZED_ + #endif simde_poly64x1_private r_[2]; #if defined(SIMDE_RISCV_V_NATIVE) && defined(SIMDE_ARCH_RISCV_ZVLSSEG) @@ -1144,6 +1148,9 @@ simde_vld2_p64(simde_poly64_t const ptr[HEDLEY_ARRAY_PARAM(2)]) { } } #endif + #if defined(SIMDE_DIAGNOSTIC_DISABLE_UNINITIALIZED_) && HEDLEY_GCC_VERSION_CHECK(12,0,0) + HEDLEY_DIAGNOSTIC_POP + #endif simde_poly64x1x2_t r = { { simde_poly64x1_from_private(r_[0]),